summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandreas <andreas@openbsd.org>2009-06-12 20:55:49 +0000
committerandreas <andreas@openbsd.org>2009-06-12 20:55:49 +0000
commit667ff20e79f683f0abc167e689e99625a88febe2 (patch)
tree0a2efd952f836ee3832057f9607ca990a6a998ee
parentFix warnings found by chl@ and djm@ and change roaming_atomicio's (diff)
downloadwireguard-openbsd-667ff20e79f683f0abc167e689e99625a88febe2.tar.xz
wireguard-openbsd-667ff20e79f683f0abc167e689e99625a88febe2.zip
Fix warnings.
ok markus@ djm@
-rw-r--r--usr.bin/ssh/roaming_dummy.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.bin/ssh/roaming_dummy.c b/usr.bin/ssh/roaming_dummy.c
index cd1d202574e..93b664764b8 100644
--- a/usr.bin/ssh/roaming_dummy.c
+++ b/usr.bin/ssh/roaming_dummy.c
@@ -22,9 +22,12 @@
#include <sys/types.h>
#include <unistd.h>
+#include "roaming.h"
+
int resume_in_progress = 0;
-u_int64_t get_recv_bytes()
+u_int64_t
+get_recv_bytes(void)
{
return 0;
}
@@ -49,7 +52,7 @@ add_recv_bytes(u_int64_t num)
}
int
-resume_kex()
+resume_kex(void)
{
return 1;
}