summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordaniel <daniel@openbsd.org>2014-08-27 10:36:55 +0000
committerdaniel <daniel@openbsd.org>2014-08-27 10:36:55 +0000
commit4788b1e03f3728d7a74b75f75554d816189934d9 (patch)
treeff785d342707592d5e7e265835868b4b6f5c9c7b
parentAdd support for Curve25519 using the public domain code that is found (diff)
downloadwireguard-openbsd-4788b1e03f3728d7a74b75f75554d816189934d9.tar.xz
wireguard-openbsd-4788b1e03f3728d7a74b75f75554d816189934d9.zip
c99 no longer allows implicit ints. make the declaration explicit.
ok henning@
-rw-r--r--usr.sbin/mrouted/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/mrouted/main.c b/usr.sbin/mrouted/main.c
index b49d41bfafa..c182b532c76 100644
--- a/usr.sbin/mrouted/main.c
+++ b/usr.sbin/mrouted/main.c
@@ -419,7 +419,7 @@ done(int i)
static void
cleanup(void)
{
- static in_cleanup = 0;
+ static int in_cleanup = 0;
if (!in_cleanup) {
in_cleanup++;