summaryrefslogtreecommitdiffhomepage
path: root/coreutils
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-01-28 22:45:43 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-01-28 22:45:43 +0000
commit847fa779aff2592e842654b95dc2c321885e1eec (patch)
tree82a3ba374faa6f07bdcfea80d12a6e9efe2870c4 /coreutils
parent0effc2410b219de8c1966752ed217d67943fce69 (diff)
*: tidy up usage of char **environ
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/env.c2
-rw-r--r--coreutils/printenv.c1
2 files changed, 0 insertions, 3 deletions
diff --git a/coreutils/env.c b/coreutils/env.c
index b45cbcc7d..7273d39fc 100644
--- a/coreutils/env.c
+++ b/coreutils/env.c
@@ -30,8 +30,6 @@
*/
#include <getopt.h> /* struct option */
-extern char **environ;
-
#include "libbb.h"
#if ENABLE_FEATURE_ENV_LONG_OPTIONS
diff --git a/coreutils/printenv.c b/coreutils/printenv.c
index bac77e2a8..06d68d0ef 100644
--- a/coreutils/printenv.c
+++ b/coreutils/printenv.c
@@ -9,7 +9,6 @@
*/
#include "libbb.h"
-extern char **environ;
int printenv_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
int printenv_main(int argc, char **argv)