diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-05-17 23:02:14 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-05-17 23:02:14 +0000 |
commit | 5b340830045aa3dc6ca01cd1c6082b09161877d2 (patch) | |
tree | 4b2514b790deaafc68d6c9caa8706a2ab94bbc52 /coreutils/env.c | |
parent | cd5c7866e328b502d946485ad1886ce26cffabfa (diff) | |
download | busybox-w32-5b340830045aa3dc6ca01cd1c6082b09161877d2.tar.gz busybox-w32-5b340830045aa3dc6ca01cd1c6082b09161877d2.tar.bz2 busybox-w32-5b340830045aa3dc6ca01cd1c6082b09161877d2.zip |
several *.c files:
move 'extern environ' up to the location of #includes
Diffstat (limited to 'coreutils/env.c')
-rw-r--r-- | coreutils/env.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/env.c b/coreutils/env.c index f47d450c5..2a271f703 100644 --- a/coreutils/env.c +++ b/coreutils/env.c | |||
@@ -32,6 +32,7 @@ | |||
32 | #include "busybox.h" | 32 | #include "busybox.h" |
33 | #include <errno.h> | 33 | #include <errno.h> |
34 | #include <getopt.h> /* struct option */ | 34 | #include <getopt.h> /* struct option */ |
35 | extern char **environ; | ||
35 | 36 | ||
36 | #if ENABLE_FEATURE_ENV_LONG_OPTIONS | 37 | #if ENABLE_FEATURE_ENV_LONG_OPTIONS |
37 | static const struct option env_long_options[] = { | 38 | static const struct option env_long_options[] = { |
@@ -49,7 +50,6 @@ int env_main(int argc, char** argv) | |||
49 | char **ep; | 50 | char **ep; |
50 | unsigned opt; | 51 | unsigned opt; |
51 | llist_t *unset_env = NULL; | 52 | llist_t *unset_env = NULL; |
52 | extern char **environ; | ||
53 | 53 | ||
54 | opt_complementary = "u::"; | 54 | opt_complementary = "u::"; |
55 | #if ENABLE_FEATURE_ENV_LONG_OPTIONS | 55 | #if ENABLE_FEATURE_ENV_LONG_OPTIONS |