summaryrefslogtreecommitdiff
path: root/usr.sbin/tcpdump
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>1999-09-16 17:08:02 +0000
committerBrad Smith <brad@cvs.openbsd.org>1999-09-16 17:08:02 +0000
commit7f91fb69f2b4ad824ec813a6dccfbb172117a818 (patch)
tree28b8557460a85fb972e81a9b5dc04df5b3701120 /usr.sbin/tcpdump
parente9c12cf301433deac4dc711088d2080134a32414 (diff)
- #if __STDC__ --> #ifdef __STDC__
- remove unused variables
Diffstat (limited to 'usr.sbin/tcpdump')
-rw-r--r--usr.sbin/tcpdump/print-ike.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/tcpdump/print-ike.c b/usr.sbin/tcpdump/print-ike.c
index de7686cf520..2d36358b84a 100644
--- a/usr.sbin/tcpdump/print-ike.c
+++ b/usr.sbin/tcpdump/print-ike.c
@@ -26,14 +26,14 @@
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/print-ike.c,v 1.1 1999/07/28 20:41:36 jakob Exp $ (XXX)";
+ "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/print-ike.c,v 1.2 1999/09/16 17:08:01 brad Exp $ (XXX)";
#endif
#include <sys/param.h>
#include <sys/time.h>
#include <sys/socket.h>
-#if __STDC__
+#ifdef __STDC__
struct mbuf;
struct rtentry;
#endif
@@ -95,7 +95,6 @@ void isakmp_print(register const u_char *cp, register int length)
{
struct isakmp_header *ih;
register const u_char *ep;
- int mode, version, leapind;
u_char *payload;
u_char nextpayload, np1;
u_int paylen;