aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-05-17 23:02:14 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-05-17 23:02:14 +0000
commit5b340830045aa3dc6ca01cd1c6082b09161877d2 (patch)
tree4b2514b790deaafc68d6c9caa8706a2ab94bbc52 /shell
parentcd5c7866e328b502d946485ad1886ce26cffabfa (diff)
downloadbusybox-w32-5b340830045aa3dc6ca01cd1c6082b09161877d2.tar.gz
busybox-w32-5b340830045aa3dc6ca01cd1c6082b09161877d2.tar.bz2
busybox-w32-5b340830045aa3dc6ca01cd1c6082b09161877d2.zip
several *.c files:
move 'extern environ' up to the location of #includes
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c2
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 @@
60#if JOBS || ENABLE_ASH_READ_NCHARS 60#if JOBS || ENABLE_ASH_READ_NCHARS
61#include <termios.h> 61#include <termios.h>
62#endif 62#endif
63extern char **environ;
63 64
64#if defined(__uClinux__) 65#if defined(__uClinux__)
65#error "Do not even bother, ash will not run on uClinux" 66#error "Do not even bother, ash will not run on uClinux"
@@ -1747,7 +1748,6 @@ struct redirtab {
1747 1748
1748static struct redirtab *redirlist; 1749static struct redirtab *redirlist;
1749static int nullredirs; 1750static int nullredirs;
1750extern char **environ;
1751static int preverrout_fd; /* save fd2 before print debug if xflag is set. */ 1751static int preverrout_fd; /* save fd2 before print debug if xflag is set. */
1752 1752
1753#define VTABSIZE 39 1753#define VTABSIZE 39