aboutsummaryrefslogtreecommitdiff
path: root/editors/awk.c
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-05-17 23:02:14 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-05-17 23:02:14 +0000
commit45be57150a7ddb05de60a58a3c6eba939ff86a84 (patch)
tree4b2514b790deaafc68d6c9caa8706a2ab94bbc52 /editors/awk.c
parent389d36fc029c28e7c7db7308f6c75a6e5377898d (diff)
downloadbusybox-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.c3
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>
13extern 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
396extern char **environ;
397
398static var * V[_intvarcount_]; 397static var * V[_intvarcount_];
399static chain beginseq, mainseq, endseq, *seq; 398static chain beginseq, mainseq, endseq, *seq;
400static int nextrec, nextfile; 399static int nextrec, nextfile;