diff options
author | Denis Vlasenko | 2007-05-17 23:02:14 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-05-17 23:02:14 +0000 |
commit | 5b340830045aa3dc6ca01cd1c6082b09161877d2 (patch) | |
tree | 4b2514b790deaafc68d6c9caa8706a2ab94bbc52 /networking | |
parent | cd5c7866e328b502d946485ad1886ce26cffabfa (diff) | |
download | busybox-5b340830045aa3dc6ca01cd1c6082b09161877d2.zip busybox-5b340830045aa3dc6ca01cd1c6082b09161877d2.tar.gz |
several *.c files:
move 'extern environ' up to the location of #includes
Diffstat (limited to 'networking')
-rw-r--r-- | networking/inetd.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/networking/inetd.c b/networking/inetd.c index 0ba3b94..dc191a4 100644 --- a/networking/inetd.c +++ b/networking/inetd.c @@ -172,8 +172,10 @@ #include <rpc/pmap_clnt.h> #endif -#define _PATH_INETDPID "/var/run/inetd.pid" +extern char **environ; + +#define _PATH_INETDPID "/var/run/inetd.pid" #define CNT_INTVL 60 /* servers in CNT_INTVL sec. */ #define RETRYTIME (60*10) /* retry after bind or server fail */ @@ -1263,7 +1265,6 @@ int inetd_main(int argc, char **argv) sigset_t omask, wait_mask; #ifdef INETD_SETPROCTITLE - extern char **environ; char **envp = environ; Argv = argv; |