summaryrefslogtreecommitdiff
path: root/sys/net/if.c
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@cvs.openbsd.org>2016-03-07 18:44:01 +0000
committerChristian Weisgerber <naddy@cvs.openbsd.org>2016-03-07 18:44:01 +0000
commitc8fbd71a189dbc354a53d4c0b9bd58dee68e1f59 (patch)
tree843670be54048f650782caf5d7e8f636539239a3 /sys/net/if.c
parentb9a94269d3b6b5409fd5a111d272087c7af120a6 (diff)
Sync no-argument function declaration and definition by adding (void).
ok mpi@ millert@
Diffstat (limited to 'sys/net/if.c')
-rw-r--r--sys/net/if.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/if.c b/sys/net/if.c
index 0823badc37f..776f9abea14 100644
--- a/sys/net/if.c
+++ b/sys/net/if.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if.c,v 1.427 2016/03/02 00:00:16 dlg Exp $ */
+/* $OpenBSD: if.c,v 1.428 2016/03/07 18:44:00 naddy Exp $ */
/* $NetBSD: if.c,v 1.35 1996/05/07 05:26:04 thorpej Exp $ */
/*
@@ -225,7 +225,7 @@ struct taskq *softnettq;
* parameters.
*/
void
-ifinit()
+ifinit(void)
{
/*
* most machines boot with 4 or 5 interfaces, so size the initial map
@@ -2555,7 +2555,7 @@ net_tick(void *null)
}
int
-net_livelocked()
+net_livelocked(void)
{
extern int ticks;