summaryrefslogtreecommitdiff
path: root/usr.sbin/tcpdump/print-ipsec.c
diff options
context:
space:
mode:
authorHakan Olsson <ho@cvs.openbsd.org>2000-10-03 14:21:58 +0000
committerHakan Olsson <ho@cvs.openbsd.org>2000-10-03 14:21:58 +0000
commit11ea47c17193f4dfba0149742e2678058551a2eb (patch)
treedeb56a90cfa4c5be5177cdffc1fc3c15383b2be3 /usr.sbin/tcpdump/print-ipsec.c
parent23388695ba5e97074c78403599072d12c67c3c2b (diff)
Compile with -Wall. Add $OpenBSD$. (jakob@ ok)
Diffstat (limited to 'usr.sbin/tcpdump/print-ipsec.c')
-rw-r--r--usr.sbin/tcpdump/print-ipsec.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/usr.sbin/tcpdump/print-ipsec.c b/usr.sbin/tcpdump/print-ipsec.c
index 474e234ef44..80f1f0cc007 100644
--- a/usr.sbin/tcpdump/print-ipsec.c
+++ b/usr.sbin/tcpdump/print-ipsec.c
@@ -1,3 +1,5 @@
+/* $OpenBSD: print-ipsec.c,v 1.5 2000/10/03 14:21:56 ho Exp $ */
+
/*
* Copyright (c) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999
* The Regents of the University of California. All rights reserved.
@@ -26,7 +28,7 @@
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/print-ipsec.c,v 1.4 2000/04/26 21:35:41 jakob Exp $ (XXX)";
+ "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/print-ipsec.c,v 1.5 2000/10/03 14:21:56 ho Exp $ (XXX)";
#endif
#include <sys/param.h>
@@ -59,8 +61,9 @@ struct esp_hdr {
u_int esp_seq;
};
-void esp_print(register const u_char *bp, register u_int len,
- register const u_char *bp2)
+void
+esp_print (register const u_char *bp, register u_int len,
+ register const u_char *bp2)
{
const struct ip *ip;
const struct esp_hdr *esp;
@@ -86,8 +89,9 @@ struct ah_hdr {
u_int ah_seq;
};
-ah_print(register const u_char *bp, register u_int len,
- register const u_char *bp2)
+void
+ah_print (register const u_char *bp, register u_int len,
+ register const u_char *bp2)
{
const struct ip *ip;
const struct ah_hdr *ah;