several *.c files:

move 'extern environ' up to the location of #includes
This commit is contained in:
Denis Vlasenko
2007-05-17 23:02:14 +00:00
parent cd5c7866e3
commit 5b34083004
5 changed files with 7 additions and 7 deletions

View File

@ -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