summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorguy <guy>2002-04-09 07:49:41 +0000
committerguy <guy>2002-04-09 07:49:41 +0000
commit65bcab39500c6e1a122e1a15f2db7e3824bbe73d (patch)
tree2c049fa6b77aca324a8b75d1a7f46ec961f1f3bc
parentf2fcdf9a3697e7e58cf04a6d755528d636196b4e (diff)
downloadlibpcap-65bcab39500c6e1a122e1a15f2db7e3824bbe73d.tar.gz
<pcap.h> include <sys/time.h>, and "pcap-int.h" includes <pcap.h>, so
there's no need to include <sys/time.h> ourselves. No UNIX-specific functions are used here, so there's no need to include <unistd.h>.
-rw-r--r--scanner.l4
1 files changed, 1 insertions, 3 deletions
diff --git a/scanner.l b/scanner.l
index 774fac2b..6f36be32 100644
--- a/scanner.l
+++ b/scanner.l
@@ -22,7 +22,7 @@
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /tcpdump/master/libpcap/scanner.l,v 1.81.2.1 2002-04-07 00:43:50 guy Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/libpcap/scanner.l,v 1.81.2.2 2002-04-09 07:49:41 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
@@ -30,10 +30,8 @@ static const char rcsid[] =
#endif
#include <sys/types.h>
-#include <sys/time.h>
#include <ctype.h>
-#include <unistd.h>
#include <string.h>
#include "pcap-int.h"