summaryrefslogtreecommitdiff
path: root/shell/ash.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 /shell/ash.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 'shell/ash.c')
-rw-r--r--shell/ash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 4b37f40..4417ee9 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