summaryrefslogtreecommitdiff
path: root/servconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'servconf.c')
-rw-r--r--servconf.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/servconf.c b/servconf.c
index d1205a81f..55b0b0039 100644
--- a/servconf.c
+++ b/servconf.c
@@ -10,7 +10,7 @@
10 */ 10 */
11 11
12#include "includes.h" 12#include "includes.h"
13RCSID("$OpenBSD: servconf.c,v 1.83 2001/06/08 15:25:40 markus Exp $"); 13RCSID("$OpenBSD: servconf.c,v 1.84 2001/06/23 15:12:19 itojun Exp $");
14 14
15#ifdef KRB4 15#ifdef KRB4
16#include <krb.h> 16#include <krb.h>
@@ -31,8 +31,8 @@ RCSID("$OpenBSD: servconf.c,v 1.83 2001/06/08 15:25:40 markus Exp $");
31#include "kex.h" 31#include "kex.h"
32#include "mac.h" 32#include "mac.h"
33 33
34void add_listen_addr(ServerOptions *options, char *addr, u_short port); 34static void add_listen_addr(ServerOptions *, char *, u_short);
35void add_one_listen_addr(ServerOptions *options, char *addr, u_short port); 35static void add_one_listen_addr(ServerOptions *, char *, u_short);
36 36
37/* AF_UNSPEC or AF_INET or AF_INET6 */ 37/* AF_UNSPEC or AF_INET or AF_INET6 */
38extern int IPv4or6; 38extern int IPv4or6;
@@ -333,7 +333,7 @@ parse_token(const char *cp, const char *filename,
333 return sBadOption; 333 return sBadOption;
334} 334}
335 335
336void 336static void
337add_listen_addr(ServerOptions *options, char *addr, u_short port) 337add_listen_addr(ServerOptions *options, char *addr, u_short port)
338{ 338{
339 int i; 339 int i;
@@ -347,7 +347,7 @@ add_listen_addr(ServerOptions *options, char *addr, u_short port)
347 add_one_listen_addr(options, addr, port); 347 add_one_listen_addr(options, addr, port);
348} 348}
349 349
350void 350static void
351add_one_listen_addr(ServerOptions *options, char *addr, u_short port) 351add_one_listen_addr(ServerOptions *options, char *addr, u_short port)
352{ 352{
353 struct addrinfo hints, *ai, *aitop; 353 struct addrinfo hints, *ai, *aitop;