diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-01-28 22:45:43 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-01-28 22:45:43 +0000 |
commit | 847fa779aff2592e842654b95dc2c321885e1eec (patch) | |
tree | 82a3ba374faa6f07bdcfea80d12a6e9efe2870c4 /coreutils | |
parent | 0effc2410b219de8c1966752ed217d67943fce69 (diff) | |
download | busybox-w32-847fa779aff2592e842654b95dc2c321885e1eec.tar.gz busybox-w32-847fa779aff2592e842654b95dc2c321885e1eec.tar.bz2 busybox-w32-847fa779aff2592e842654b95dc2c321885e1eec.zip |
*: tidy up usage of char **environ
Diffstat (limited to 'coreutils')
-rw-r--r-- | coreutils/env.c | 2 | ||||
-rw-r--r-- | coreutils/printenv.c | 1 |
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 @@ | |||
30 | */ | 30 | */ |
31 | 31 | ||
32 | #include <getopt.h> /* struct option */ | 32 | #include <getopt.h> /* struct option */ |
33 | extern char **environ; | ||
34 | |||
35 | #include "libbb.h" | 33 | #include "libbb.h" |
36 | 34 | ||
37 | #if ENABLE_FEATURE_ENV_LONG_OPTIONS | 35 | #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 @@ | |||
9 | */ | 9 | */ |
10 | 10 | ||
11 | #include "libbb.h" | 11 | #include "libbb.h" |
12 | extern char **environ; | ||
13 | 12 | ||
14 | int printenv_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; | 13 | int printenv_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; |
15 | int printenv_main(int argc, char **argv) | 14 | int printenv_main(int argc, char **argv) |