diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-05-18 03:02:14 +0400 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-05-18 03:02:14 +0400 |
commit | 5b340830045aa3dc6ca01cd1c6082b09161877d2 (patch) | |
tree | 4b2514b790deaafc68d6c9caa8706a2ab94bbc52 /shell | |
parent | cd5c7866e328b502d946485ad1886ce26cffabfa (diff) |
several *.c files:
move 'extern environ' up to the location of #includes
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c index 4b37f403c..4417ee908 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -60,6 +60,7 @@ #if JOBS || ENABLE_ASH_READ_NCHARS #include <termios.h> #endif +extern char **environ; #if defined(__uClinux__) #error "Do not even bother, ash will not run on uClinux" @@ -1747,7 +1748,6 @@ struct redirtab { static struct redirtab *redirlist; static int nullredirs; -extern char **environ; static int preverrout_fd; /* save fd2 before print debug if xflag is set. */ #define VTABSIZE 39 |