summaryrefslogtreecommitdiffhomepage
path: root/svr-main.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2004-12-22 15:37:50 +0000
committerMatt Johnston <matt@ucc.asn.au>2004-12-22 15:37:50 +0000
commite7677a5e8ddaa4787659a1a9e5320369c94564e4 (patch)
tree445e655df5d10a7b9f405bbaf0355efb8a48cc47 /svr-main.c
parent7dfb2bfcda814cd2df7b964ec66c7f6e38db6152 (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.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/svr-main.c b/svr-main.c
index ae05c0d..60ed212 100644
--- a/svr-main.c
+++ b/svr-main.c
@@ -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];