diff options
author | Matt Johnston <matt@ucc.asn.au> | 2004-12-22 15:37:50 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2004-12-22 15:37:50 +0000 |
commit | e7677a5e8ddaa4787659a1a9e5320369c94564e4 (patch) | |
tree | 445e655df5d10a7b9f405bbaf0355efb8a48cc47 /svr-main.c | |
parent | 7dfb2bfcda814cd2df7b964ec66c7f6e38db6152 (diff) |
Rearrange preprocessor parts so that compilation with various options
disabled works OK.
--HG--
extra : convert_revision : cc92f744e34125062d052b757967e167f19d6db5
Diffstat (limited to 'svr-main.c')
-rw-r--r-- | svr-main.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -33,8 +33,12 @@ static int listensockets(int *sock, int sockcount, int *maxfd); static void sigchld_handler(int dummy); static void sigsegv_handler(int); static void sigintterm_handler(int fish); +#ifdef INETD_MODE static void main_inetd(); +#endif +#ifdef NON_INETD_MODE static void main_noinetd(); +#endif static void commonsetup(); static int childpipes[MAX_UNAUTH_CLIENTS]; |