diff options
author | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-05-17 23:02:14 +0000 |
---|---|---|
committer | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-05-17 23:02:14 +0000 |
commit | 45be57150a7ddb05de60a58a3c6eba939ff86a84 (patch) | |
tree | 4b2514b790deaafc68d6c9caa8706a2ab94bbc52 /editors/awk.c | |
parent | 389d36fc029c28e7c7db7308f6c75a6e5377898d (diff) | |
download | busybox-w32-45be57150a7ddb05de60a58a3c6eba939ff86a84.tar.gz busybox-w32-45be57150a7ddb05de60a58a3c6eba939ff86a84.tar.bz2 busybox-w32-45be57150a7ddb05de60a58a3c6eba939ff86a84.zip |
several *.c files:
move 'extern environ' up to the location of #includes
git-svn-id: svn://busybox.net/trunk/busybox@18644 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'editors/awk.c')
-rw-r--r-- | editors/awk.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/editors/awk.c b/editors/awk.c index 9366a2398..76ebe0fb9 100644 --- a/editors/awk.c +++ b/editors/awk.c | |||
@@ -10,6 +10,7 @@ | |||
10 | #include "busybox.h" | 10 | #include "busybox.h" |
11 | #include "xregex.h" | 11 | #include "xregex.h" |
12 | #include <math.h> | 12 | #include <math.h> |
13 | extern char **environ; | ||
13 | 14 | ||
14 | /* This is a NOEXEC applet. Be very careful! */ | 15 | /* This is a NOEXEC applet. Be very careful! */ |
15 | 16 | ||
@@ -393,8 +394,6 @@ enum { NPRIMES = sizeof(PRIMES) / sizeof(unsigned) }; | |||
393 | 394 | ||
394 | /* globals */ | 395 | /* globals */ |
395 | 396 | ||
396 | extern char **environ; | ||
397 | |||
398 | static var * V[_intvarcount_]; | 397 | static var * V[_intvarcount_]; |
399 | static chain beginseq, mainseq, endseq, *seq; | 398 | static chain beginseq, mainseq, endseq, *seq; |
400 | static int nextrec, nextfile; | 399 | static int nextrec, nextfile; |