summaryrefslogtreecommitdiff
path: root/canohost.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-12-06 17:55:26 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-12-06 17:55:26 +0000
commit3c36bb29ca67d459ef9d8c1961415d77efc20e55 (patch)
treee0cbbfcb54bdf089c1ca30c9ccc38d301ae6fd33 /canohost.c
parentf8f065bc752ca0a448eb90fc8d60516f486dc4ff (diff)
- itojun@cvs.openbsd.org 2001/12/05 03:56:39
[auth1.c auth2.c canohost.c channels.c deattack.c packet.c scp.c sshconnect2.c] make it compile with more strict prototype checking
Diffstat (limited to 'canohost.c')
-rw-r--r--canohost.c8
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"
15RCSID("$OpenBSD: canohost.c,v 1.27 2001/06/23 15:12:17 itojun Exp $"); 15RCSID("$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
263const char * 263const char *
264get_remote_ipaddr() 264get_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
346int 346int
347get_remote_port() 347get_remote_port(void)
348{ 348{
349 return get_port(0); 349 return get_port(0);
350} 350}
351 351
352int 352int
353get_local_port() 353get_local_port(void)
354{ 354{
355 return get_port(1); 355 return get_port(1);
356} 356}