diff options
Diffstat (limited to 'canohost.c')
-rw-r--r-- | canohost.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/canohost.c b/canohost.c index 6e6a04505..015a328e8 100644 --- a/canohost.c +++ b/canohost.c | |||
@@ -12,7 +12,7 @@ | |||
12 | */ | 12 | */ |
13 | 13 | ||
14 | #include "includes.h" | 14 | #include "includes.h" |
15 | RCSID("$OpenBSD: canohost.c,v 1.27 2001/06/23 15:12:17 itojun Exp $"); | 15 | RCSID("$OpenBSD: canohost.c,v 1.28 2001/12/05 03:56:39 itojun Exp $"); |
16 | 16 | ||
17 | #include "packet.h" | 17 | #include "packet.h" |
18 | #include "xmalloc.h" | 18 | #include "xmalloc.h" |
@@ -261,7 +261,7 @@ get_local_name(int socket) | |||
261 | */ | 261 | */ |
262 | 262 | ||
263 | const char * | 263 | const char * |
264 | get_remote_ipaddr() | 264 | get_remote_ipaddr(void) |
265 | { | 265 | { |
266 | static char *canonical_host_ip = NULL; | 266 | static char *canonical_host_ip = NULL; |
267 | 267 | ||
@@ -344,13 +344,13 @@ get_peer_port(int sock) | |||
344 | } | 344 | } |
345 | 345 | ||
346 | int | 346 | int |
347 | get_remote_port() | 347 | get_remote_port(void) |
348 | { | 348 | { |
349 | return get_port(0); | 349 | return get_port(0); |
350 | } | 350 | } |
351 | 351 | ||
352 | int | 352 | int |
353 | get_local_port() | 353 | get_local_port(void) |
354 | { | 354 | { |
355 | return get_port(1); | 355 | return get_port(1); |
356 | } | 356 | } |