summaryrefslogtreecommitdiff
path: root/sys/netinet/in_cksum.c
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2015-07-17 23:49:04 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2015-07-17 23:49:04 +0000
commit864473eda389acf3d42e13c914980e47f096d234 (patch)
tree2eaebcbf924f980e2e6a2860953a002f4bd5be24 /sys/netinet/in_cksum.c
parent145d7883151c7e511780f11788216756ccfd1b3e (diff)
ansi
Diffstat (limited to 'sys/netinet/in_cksum.c')
-rw-r--r--sys/netinet/in_cksum.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/netinet/in_cksum.c b/sys/netinet/in_cksum.c
index 10241f63bc3..cdc188f713a 100644
--- a/sys/netinet/in_cksum.c
+++ b/sys/netinet/in_cksum.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: in_cksum.c,v 1.7 2015/03/14 03:38:51 jsg Exp $ */
+/* $OpenBSD: in_cksum.c,v 1.8 2015/07/17 23:49:03 tedu Exp $ */
/* $NetBSD: in_cksum.c,v 1.11 1996/04/08 19:55:37 jonathan Exp $ */
/*
@@ -47,9 +47,7 @@
#define REDUCE {l_util.l = sum; sum = l_util.s[0] + l_util.s[1]; ADDCARRY(sum);}
int
-in_cksum(m, len)
- struct mbuf *m;
- int len;
+in_cksum(struct mbuf *m, int len)
{
u_int16_t *w;
int sum = 0;