Mercurial > dropbear
comparison svr-main.c @ 1275:d49bda490798
add static in function definition
like in function declaration
author | Francois Perrad <francois.perrad@gadz.org> |
---|---|
date | Fri, 01 Jan 2016 09:46:09 +0100 |
parents | 26622eee1e8b |
children | 9169e4e7cbee |
comparison
equal
deleted
inserted
replaced
1274:9da3e7b4fe55 | 1275:d49bda490798 |
---|---|
102 /* notreached */ | 102 /* notreached */ |
103 } | 103 } |
104 #endif /* INETD_MODE */ | 104 #endif /* INETD_MODE */ |
105 | 105 |
106 #ifdef NON_INETD_MODE | 106 #ifdef NON_INETD_MODE |
107 void main_noinetd() { | 107 static void main_noinetd() { |
108 fd_set fds; | 108 fd_set fds; |
109 unsigned int i, j; | 109 unsigned int i, j; |
110 int val; | 110 int val; |
111 int maxsock = -1; | 111 int maxsock = -1; |
112 int listensocks[MAX_LISTEN_ADDR]; | 112 int listensocks[MAX_LISTEN_ADDR]; |