Mercurial > dropbear
comparison 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 |
comparison
equal
deleted
inserted
replaced
153:6ba95762ec4e | 156:8c2b3506f112 |
---|---|
31 | 31 |
32 static int listensockets(int *sock, int sockcount, int *maxfd); | 32 static int listensockets(int *sock, int sockcount, int *maxfd); |
33 static void sigchld_handler(int dummy); | 33 static void sigchld_handler(int dummy); |
34 static void sigsegv_handler(int); | 34 static void sigsegv_handler(int); |
35 static void sigintterm_handler(int fish); | 35 static void sigintterm_handler(int fish); |
36 #ifdef INETD_MODE | |
36 static void main_inetd(); | 37 static void main_inetd(); |
38 #endif | |
39 #ifdef NON_INETD_MODE | |
37 static void main_noinetd(); | 40 static void main_noinetd(); |
41 #endif | |
38 static void commonsetup(); | 42 static void commonsetup(); |
39 | 43 |
40 static int childpipes[MAX_UNAUTH_CLIENTS]; | 44 static int childpipes[MAX_UNAUTH_CLIENTS]; |
41 | 45 |
42 #if defined(DBMULTI_dropbear) || !defined(DROPBEAR_MULTI) | 46 #if defined(DBMULTI_dropbear) || !defined(DROPBEAR_MULTI) |