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

@@ -172,9 +172,11 @@
#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;