summaryrefslogtreecommitdiff
path: root/usr.sbin/tcpdump/tcpdump.c
diff options
context:
space:
mode:
authorAnil Madhavapeddy <avsm@cvs.openbsd.org>2004-06-20 17:51:56 +0000
committerAnil Madhavapeddy <avsm@cvs.openbsd.org>2004-06-20 17:51:56 +0000
commit1ac6d24e742c7f3128b88d71c09150bfb68cbe67 (patch)
tree94ed7784c683f12361234145a17d9431499157f1 /usr.sbin/tcpdump/tcpdump.c
parent8fed60822a3bbddc0dbd13b43d561fbd47c7446c (diff)
- do not use __attribute__((volatile)) as its a synonym for __dead nowadays
- bad format string "\%s" -> "%s" in print-ike.c fixes parsing using CIL, discussed with millert@ niklas@
Diffstat (limited to 'usr.sbin/tcpdump/tcpdump.c')
-rw-r--r--usr.sbin/tcpdump/tcpdump.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/tcpdump/tcpdump.c b/usr.sbin/tcpdump/tcpdump.c
index 11327029c56..86086e5c1fd 100644
--- a/usr.sbin/tcpdump/tcpdump.c
+++ b/usr.sbin/tcpdump/tcpdump.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcpdump.c,v 1.37 2004/05/21 05:48:50 brad Exp $ */
+/* $OpenBSD: tcpdump.c,v 1.38 2004/06/20 17:51:55 avsm Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997
@@ -26,7 +26,7 @@ static const char copyright[] =
"@(#) Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997\n\
The Regents of the University of California. All rights reserved.\n";
static const char rcsid[] =
- "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/tcpdump.c,v 1.37 2004/05/21 05:48:50 brad Exp $ (LBL)";
+ "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/tcpdump.c,v 1.38 2004/06/20 17:51:55 avsm Exp $ (LBL)";
#endif
/*
@@ -92,7 +92,7 @@ extern int esp_init(char *);
/* Forwards */
RETSIGTYPE cleanup(int);
-extern __dead void usage(void) __attribute__((volatile));
+extern __dead void usage(void);
/* Length of saved portion of packet. */
int snaplen = DEFAULT_SNAPLEN;