diff options
author | guy <guy> | 2002-03-24 23:21:51 +0000 |
---|---|---|
committer | guy <guy> | 2002-03-24 23:21:51 +0000 |
commit | fdaba9c2a6db9b0a9dfb793baf8ab3cb33492c0e (patch) | |
tree | e8555fcd5746ed9124bf2905da081e17b86ce5d1 | |
parent | 7346580de5ca6e4d0f2b2dd28d694ed34c48fab2 (diff) | |
download | libpcap-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.c | 5 | ||||
-rw-r--r-- | bpf_image.c | 5 | ||||
-rw-r--r-- | optimize.c | 5 | ||||
-rw-r--r-- | savefile.c | 5 |
4 files changed, 4 insertions, 16 deletions
@@ -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> @@ -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> @@ -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> |