summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorguy <guy>2002-03-24 23:21:51 +0000
committerguy <guy>2002-03-24 23:21:51 +0000
commitfdaba9c2a6db9b0a9dfb793baf8ab3cb33492c0e (patch)
treee8555fcd5746ed9124bf2905da081e17b86ce5d1
parent7346580de5ca6e4d0f2b2dd28d694ed34c48fab2 (diff)
downloadlibpcap-fdaba9c2a6db9b0a9dfb793baf8ab3cb33492c0e.tar.gz
<pcap.h> includes <sys/types.h> and <sys/time.h>; there's no need to
include it in these files, as they either include "pcap-int.h", which includes <pcap.h>, or they include <pcap.h> directly.
-rw-r--r--bpf_dump.c5
-rw-r--r--bpf_image.c5
-rw-r--r--optimize.c5
-rw-r--r--savefile.c5
4 files changed, 4 insertions, 16 deletions
diff --git a/bpf_dump.c b/bpf_dump.c
index 0b651c2a..74927f47 100644
--- a/bpf_dump.c
+++ b/bpf_dump.c
@@ -20,16 +20,13 @@
*/
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /tcpdump/master/libpcap/bpf_dump.c,v 1.12 2000-06-26 04:17:05 assar Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/libpcap/bpf_dump.c,v 1.13 2002-03-24 23:21:51 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
-#include <sys/types.h>
-#include <sys/time.h>
-
#include <pcap.h>
#include <stdio.h>
diff --git a/bpf_image.c b/bpf_image.c
index ab225eda..d38d978c 100644
--- a/bpf_image.c
+++ b/bpf_image.c
@@ -21,16 +21,13 @@
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /tcpdump/master/libpcap/bpf_image.c,v 1.24 2000-07-11 00:37:04 assar Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/libpcap/bpf_image.c,v 1.25 2002-03-24 23:21:51 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
-#include <sys/types.h>
-#include <sys/time.h>
-
#include <stdio.h>
#include <string.h>
diff --git a/optimize.c b/optimize.c
index d44e041d..c72c8cb1 100644
--- a/optimize.c
+++ b/optimize.c
@@ -22,16 +22,13 @@
*/
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /tcpdump/master/libpcap/optimize.c,v 1.71 2001-11-12 22:04:23 fenner Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/libpcap/optimize.c,v 1.72 2002-03-24 23:21:51 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
-#include <sys/types.h>
-#include <sys/time.h>
-
#include <stdio.h>
#include <stdlib.h>
#include <memory.h>
diff --git a/savefile.c b/savefile.c
index 08d50ab7..7edf5b21 100644
--- a/savefile.c
+++ b/savefile.c
@@ -30,16 +30,13 @@
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /tcpdump/master/libpcap/savefile.c,v 1.57 2002-03-08 11:24:32 guy Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/libpcap/savefile.c,v 1.58 2002-03-24 23:21:52 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
-#include <sys/types.h>
-#include <sys/time.h>
-
#include <errno.h>
#include <memory.h>
#include <stdio.h>