diff options
author | Christian Weisgerber <naddy@cvs.openbsd.org> | 2016-03-07 18:44:01 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@cvs.openbsd.org> | 2016-03-07 18:44:01 +0000 |
commit | c8fbd71a189dbc354a53d4c0b9bd58dee68e1f59 (patch) | |
tree | 843670be54048f650782caf5d7e8f636539239a3 /sys/netinet6 | |
parent | b9a94269d3b6b5409fd5a111d272087c7af120a6 (diff) |
Sync no-argument function declaration and definition by adding (void).
ok mpi@ millert@
Diffstat (limited to 'sys/netinet6')
-rw-r--r-- | sys/netinet6/frag6.c | 6 | ||||
-rw-r--r-- | sys/netinet6/ip6_divert.c | 4 | ||||
-rw-r--r-- | sys/netinet6/mld6.c | 4 | ||||
-rw-r--r-- | sys/netinet6/raw_ip6.c | 4 |
4 files changed, 9 insertions, 9 deletions
diff --git a/sys/netinet6/frag6.c b/sys/netinet6/frag6.c index c95c1f84797..a15f95533b1 100644 --- a/sys/netinet6/frag6.c +++ b/sys/netinet6/frag6.c @@ -1,4 +1,4 @@ -/* $OpenBSD: frag6.c,v 1.66 2015/12/03 13:13:04 tedu Exp $ */ +/* $OpenBSD: frag6.c,v 1.67 2016/03/07 18:44:00 naddy Exp $ */ /* $KAME: frag6.c,v 1.40 2002/05/27 21:40:31 itojun Exp $ */ /* @@ -64,7 +64,7 @@ static __inline int ip6q_lock_try(void); static __inline void ip6q_unlock(void); static __inline int -ip6q_lock_try() +ip6q_lock_try(void) { int s; @@ -80,7 +80,7 @@ ip6q_lock_try() } static __inline void -ip6q_unlock() +ip6q_unlock(void) { int s; diff --git a/sys/netinet6/ip6_divert.c b/sys/netinet6/ip6_divert.c index 0349ded5abf..02dd7fbe8cb 100644 --- a/sys/netinet6/ip6_divert.c +++ b/sys/netinet6/ip6_divert.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip6_divert.c,v 1.38 2015/09/11 08:17:06 claudio Exp $ */ +/* $OpenBSD: ip6_divert.c,v 1.39 2016/03/07 18:44:00 naddy Exp $ */ /* * Copyright (c) 2009 Michele Marchetto <michele@openbsd.org> @@ -69,7 +69,7 @@ int divert6_output(struct inpcb *, struct mbuf *, struct mbuf *, struct mbuf *); void -divert6_init() +divert6_init(void) { in_pcbinit(&divb6table, divb6hashsize); } diff --git a/sys/netinet6/mld6.c b/sys/netinet6/mld6.c index d9aa23a6cb1..b41d086ceb6 100644 --- a/sys/netinet6/mld6.c +++ b/sys/netinet6/mld6.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mld6.c,v 1.46 2015/09/12 13:34:12 mpi Exp $ */ +/* $OpenBSD: mld6.c,v 1.47 2016/03/07 18:44:00 naddy Exp $ */ /* $KAME: mld6.c,v 1.26 2001/02/16 14:50:35 itojun Exp $ */ /* @@ -93,7 +93,7 @@ void mld6_checktimer(struct ifnet *); static void mld6_sendpkt(struct in6_multi *, int, const struct in6_addr *); void -mld6_init() +mld6_init(void) { static u_int8_t hbh_buf[8]; struct ip6_hbh *hbh = (struct ip6_hbh *)hbh_buf; diff --git a/sys/netinet6/raw_ip6.c b/sys/netinet6/raw_ip6.c index 2d4a81637e8..5bc2a09d730 100644 --- a/sys/netinet6/raw_ip6.c +++ b/sys/netinet6/raw_ip6.c @@ -1,4 +1,4 @@ -/* $OpenBSD: raw_ip6.c,v 1.87 2015/11/24 13:37:16 mpi Exp $ */ +/* $OpenBSD: raw_ip6.c,v 1.88 2016/03/07 18:44:00 naddy Exp $ */ /* $KAME: raw_ip6.c,v 1.69 2001/03/04 15:55:44 itojun Exp $ */ /* @@ -109,7 +109,7 @@ struct rip6stat rip6stat; * Initialize raw connection block queue. */ void -rip6_init() +rip6_init(void) { in_pcbinit(&rawin6pcbtable, 1); |