summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2013-11-04 09:05:17 +1100
committerDamien Miller <djm@mindrot.org>2013-11-04 09:05:17 +1100
commitca67a7eaf8766499ba67801d0be8cdaa550b9a50 (patch)
tree505c00e650583338c1e83c0da978a814cc89899c
parent0bd8f1519d51af8d4229be81e8f2f4903a1d440b (diff)
- djm@cvs.openbsd.org 2013/11/03 10:37:19
[roaming_common.c] fix a couple of function definitions foo() -> foo(void) (-Wold-style-definition)
-rw-r--r--ChangeLog4
-rw-r--r--roaming_common.c6
2 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 6d9d45bf9..e7b773de8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -20,6 +20,10 @@
20 - markus@cvs.openbsd.org 2013/11/02 22:39:19 20 - markus@cvs.openbsd.org 2013/11/02 22:39:19
21 [ssh_config.5 sshd_config.5] 21 [ssh_config.5 sshd_config.5]
22 the default kex is now curve25519-sha256@libssh.org 22 the default kex is now curve25519-sha256@libssh.org
23 - djm@cvs.openbsd.org 2013/11/03 10:37:19
24 [roaming_common.c]
25 fix a couple of function definitions foo() -> foo(void)
26 (-Wold-style-definition)
23 27
2420131103 2820131103
25 - (dtucker) [openbsd-compat/bsd-misc.c] Include time.h for nanosleep. 29 - (dtucker) [openbsd-compat/bsd-misc.c] Include time.h for nanosleep.
diff --git a/roaming_common.c b/roaming_common.c
index 50d6177d0..86b3372ef 100644
--- a/roaming_common.c
+++ b/roaming_common.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: roaming_common.c,v 1.10 2013/07/12 00:19:59 djm Exp $ */ 1/* $OpenBSD: roaming_common.c,v 1.11 2013/11/03 10:37:19 djm Exp $ */
2/* 2/*
3 * Copyright (c) 2004-2009 AppGate Network Security AB 3 * Copyright (c) 2004-2009 AppGate Network Security AB
4 * 4 *
@@ -49,7 +49,7 @@ int roaming_enabled = 0;
49int resume_in_progress = 0; 49int resume_in_progress = 0;
50 50
51int 51int
52get_snd_buf_size() 52get_snd_buf_size(void)
53{ 53{
54 int fd = packet_get_connection_out(); 54 int fd = packet_get_connection_out();
55 int optval; 55 int optval;
@@ -61,7 +61,7 @@ get_snd_buf_size()
61} 61}
62 62
63int 63int
64get_recv_buf_size() 64get_recv_buf_size(void)
65{ 65{
66 int fd = packet_get_connection_in(); 66 int fd = packet_get_connection_in();
67 int optval; 67 int optval;