From 5b340830045aa3dc6ca01cd1c6082b09161877d2 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Thu, 17 May 2007 23:02:14 +0000 Subject: several *.c files: move 'extern environ' up to the location of #includes --- shell/ash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell') 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 #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 -- cgit v1.1