summaryrefslogtreecommitdiff
path: root/sys/netinet6/frag6.c
diff options
context:
space:
mode:
authorRyan Thomas McBride <mcbride@cvs.openbsd.org>2008-06-11 19:00:51 +0000
committerRyan Thomas McBride <mcbride@cvs.openbsd.org>2008-06-11 19:00:51 +0000
commita281bd593a87ccc180424f328c5bef3e6fb98fa9 (patch)
tree0050fce1befa8937159804f47977a0ab6e60e91f /sys/netinet6/frag6.c
parent9d8f085596f968dd3bc919a11ae130b2381b52cb (diff)
ANSIfy to sync with KAME. From Karl Sjodahl <dunceor@gmail.com>.
ok todd deraadt naddy bluhm
Diffstat (limited to 'sys/netinet6/frag6.c')
-rw-r--r--sys/netinet6/frag6.c21
1 files changed, 7 insertions, 14 deletions
diff --git a/sys/netinet6/frag6.c b/sys/netinet6/frag6.c
index bcf2387b73a..102fcdfb1f8 100644
--- a/sys/netinet6/frag6.c
+++ b/sys/netinet6/frag6.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: frag6.c,v 1.25 2007/12/09 21:24:58 hshoexer Exp $ */
+/* $OpenBSD: frag6.c,v 1.26 2008/06/11 19:00:50 mcbride Exp $ */
/* $KAME: frag6.c,v 1.40 2002/05/27 21:40:31 itojun Exp $ */
/*
@@ -171,9 +171,7 @@ frag6_init()
* Fragment input
*/
int
-frag6_input(mp, offp, proto)
- struct mbuf **mp;
- int *offp, proto;
+frag6_input(struct mbuf **mp, int *offp, int proto)
{
struct mbuf *m = *mp, *t;
struct ip6_hdr *ip6;
@@ -620,8 +618,7 @@ insert:
* associated datagrams.
*/
void
-frag6_freef(q6)
- struct ip6q *q6;
+frag6_freef(struct ip6q *q6)
{
struct ip6asfrag *af6, *down6;
@@ -665,8 +662,7 @@ frag6_freef(q6)
* Like insque, but pointers in middle of structure.
*/
void
-frag6_enq(af6, up6)
- struct ip6asfrag *af6, *up6;
+frag6_enq(struct ip6asfrag *af6, struct ip6asfrag *up6)
{
IP6Q_LOCK_CHECK();
@@ -681,8 +677,7 @@ frag6_enq(af6, up6)
* To frag6_enq as remque is to insque.
*/
void
-frag6_deq(af6)
- struct ip6asfrag *af6;
+frag6_deq(struct ip6asfrag *af6)
{
IP6Q_LOCK_CHECK();
@@ -692,8 +687,7 @@ frag6_deq(af6)
}
void
-frag6_insque(new, old)
- struct ip6q *new, *old;
+frag6_insque(struct ip6q *new, struct ip6q *old)
{
IP6Q_LOCK_CHECK();
@@ -705,8 +699,7 @@ frag6_insque(new, old)
}
void
-frag6_remque(p6)
- struct ip6q *p6;
+frag6_remque(struct ip6q *p6)
{
IP6Q_LOCK_CHECK();