diff options
| author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-05-17 23:02:14 +0000 |
|---|---|---|
| committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-05-17 23:02:14 +0000 |
| commit | 5b340830045aa3dc6ca01cd1c6082b09161877d2 (patch) | |
| tree | 4b2514b790deaafc68d6c9caa8706a2ab94bbc52 /shell | |
| parent | cd5c7866e328b502d946485ad1886ce26cffabfa (diff) | |
| download | busybox-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.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 @@ | |||
| 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 |
| 63 | extern 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 | ||
| 1748 | static struct redirtab *redirlist; | 1749 | static struct redirtab *redirlist; |
| 1749 | static int nullredirs; | 1750 | static int nullredirs; |
| 1750 | extern char **environ; | ||
| 1751 | static int preverrout_fd; /* save fd2 before print debug if xflag is set. */ | 1751 | static int preverrout_fd; /* save fd2 before print debug if xflag is set. */ |
| 1752 | 1752 | ||
| 1753 | #define VTABSIZE 39 | 1753 | #define VTABSIZE 39 |
