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/printenv.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/printenv.c')
-rw-r--r-- | coreutils/printenv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/printenv.c b/coreutils/printenv.c index 1d41eeb7b..935f52df3 100644 --- a/coreutils/printenv.c +++ b/coreutils/printenv.c | |||
@@ -12,11 +12,11 @@ | |||
12 | #include <string.h> | 12 | #include <string.h> |
13 | #include <stdlib.h> | 13 | #include <stdlib.h> |
14 | #include "busybox.h" | 14 | #include "busybox.h" |
15 | extern char **environ; | ||
15 | 16 | ||
16 | int printenv_main(int argc, char **argv); | 17 | int printenv_main(int argc, char **argv); |
17 | int printenv_main(int argc, char **argv) | 18 | int printenv_main(int argc, char **argv) |
18 | { | 19 | { |
19 | extern char **environ; | ||
20 | int e = 0; | 20 | int e = 0; |
21 | 21 | ||
22 | /* no variables specified, show whole env */ | 22 | /* no variables specified, show whole env */ |