summaryrefslogtreecommitdiff
path: root/editors/awk.c
diff options
context:
space:
mode:
authorDenis Vlasenko2007-05-17 23:02:14 +0000
committerDenis Vlasenko2007-05-17 23:02:14 +0000
commit5b340830045aa3dc6ca01cd1c6082b09161877d2 (patch)
tree4b2514b790deaafc68d6c9caa8706a2ab94bbc52 /editors/awk.c
parentcd5c7866e328b502d946485ad1886ce26cffabfa (diff)
downloadbusybox-5b340830045aa3dc6ca01cd1c6082b09161877d2.zip
busybox-5b340830045aa3dc6ca01cd1c6082b09161877d2.tar.gz
several *.c files:
move 'extern environ' up to the location of #includes
Diffstat (limited to 'editors/awk.c')
-rw-r--r--editors/awk.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/editors/awk.c b/editors/awk.c
index 9366a23..76ebe0f 100644
--- a/editors/awk.c
+++ b/editors/awk.c
@@ -10,6 +10,7 @@
#include "busybox.h"
#include "xregex.h"
#include <math.h>
+extern char **environ;
/* This is a NOEXEC applet. Be very careful! */
@@ -393,8 +394,6 @@ enum { NPRIMES = sizeof(PRIMES) / sizeof(unsigned) };
/* globals */
-extern char **environ;
-
static var * V[_intvarcount_];
static chain beginseq, mainseq, endseq, *seq;
static int nextrec, nextfile;