summaryrefslogtreecommitdiffstats
path: root/lib/libatm/ip_checksum.c
diff options
context:
space:
mode:
authormks <mks@FreeBSD.org>1999-07-01 20:48:59 +0000
committermks <mks@FreeBSD.org>1999-07-01 20:48:59 +0000
commit7707e35f12ca77282d0d391e98bf0db7bf1b734c (patch)
tree4a3901b074c8e4dd2814e00f82d841659871f67a /lib/libatm/ip_checksum.c
parent22e38b45b20e68f38edb59cfdd12a4422d39c6c4 (diff)
downloadFreeBSD-src-7707e35f12ca77282d0d391e98bf0db7bf1b734c.zip
FreeBSD-src-7707e35f12ca77282d0d391e98bf0db7bf1b734c.tar.gz
Modify code to be -Wall'able.
PR: bin/11315
Diffstat (limited to 'lib/libatm/ip_checksum.c')
-rw-r--r--lib/libatm/ip_checksum.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/lib/libatm/ip_checksum.c b/lib/libatm/ip_checksum.c
index 478f6ca..3cdf2f2 100644
--- a/lib/libatm/ip_checksum.c
+++ b/lib/libatm/ip_checksum.c
@@ -23,7 +23,7 @@
* Copies of this Software may be made, however, the above copyright
* notice must be reproduced on all copies.
*
- * @(#) $Id: ip_checksum.c,v 1.4 1998/08/11 18:11:48 johnc Exp $
+ * @(#) $Id: ip_checksum.c,v 1.1 1998/09/15 08:22:34 phk Exp $
*
*/
@@ -36,14 +36,8 @@
*
*/
-
-#ifndef lint
-static char *RCSid = "@(#) $Id: ip_checksum.c,v 1.4 1998/08/11 18:11:48 johnc Exp $";
-#endif
-
#include <sys/types.h>
#include <sys/param.h>
-
#include <sys/socket.h>
#include <net/if.h>
#include <netinet/in.h>
@@ -56,6 +50,10 @@ static char *RCSid = "@(#) $Id: ip_checksum.c,v 1.4 1998/08/11 18:11:48 johnc Ex
#include "libatm.h"
+#ifndef lint
+__RCSID("@(#) $Id: ip_checksum.c,v 1.1 1998/09/15 08:22:34 phk Exp $");
+#endif
+
/*
* Compute an IP checksum
OpenPOWER on IntegriCloud