diff options
author | 2000-10-03 14:21:56 +0000 | |
---|---|---|
committer | 2000-10-03 14:21:56 +0000 | |
commit | 9da4fe85683b8cef9158e4366a37df9d9659e34a (patch) | |
tree | 6605576c35abd6aee39ffe33e2551098151dcb47 /usr.sbin/tcpdump/tcpdump.c | |
parent | More careful ntohs/ntohl etc. From Gunnar Lindberg <lindberg@cdg.chalmers.se> (diff) | |
download | wireguard-openbsd-9da4fe85683b8cef9158e4366a37df9d9659e34a.tar.xz wireguard-openbsd-9da4fe85683b8cef9158e4366a37df9d9659e34a.zip |
Compile with -Wall. Add $OpenBSD$. (jakob@ ok)
Diffstat (limited to 'usr.sbin/tcpdump/tcpdump.c')
-rw-r--r-- | usr.sbin/tcpdump/tcpdump.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/tcpdump/tcpdump.c b/usr.sbin/tcpdump/tcpdump.c index 20dab7e793a..04488025f4a 100644 --- a/usr.sbin/tcpdump/tcpdump.c +++ b/usr.sbin/tcpdump/tcpdump.c @@ -1,3 +1,5 @@ +/* $OpenBSD: tcpdump.c,v 1.19 2000/10/03 14:21:57 ho Exp $ */ + /* * Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997 * The Regents of the University of California. All rights reserved. @@ -24,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: /home/cvs/src/usr.sbin/tcpdump/tcpdump.c,v 1.18 2000/04/30 05:23:28 ericj Exp $ (LBL)"; + "@(#) $Header: /home/cvs/src/usr.sbin/tcpdump/tcpdump.c,v 1.19 2000/10/03 14:21:57 ho Exp $ (LBL)"; #endif /* @@ -46,6 +48,7 @@ static const char rcsid[] = #include <stdlib.h> #include <string.h> #include <unistd.h> +#include <ctype.h> #include "interface.h" #include "addrtoname.h" |