diff svr-main.c @ 156:8c2b3506f112

Rearrange preprocessor parts so that compilation with various options disabled works OK.
author Matt Johnston <matt@ucc.asn.au>
date Wed, 22 Dec 2004 15:37:50 +0000
parents 775c6cbfe995
children 364a75cfebab
line wrap: on
line diff
--- a/svr-main.c	Mon Dec 20 14:46:12 2004 +0000
+++ b/svr-main.c	Wed Dec 22 15:37:50 2004 +0000
@@ -33,8 +33,12 @@
 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];