]> The Tcpdump Group git mirrors - libpcap/commitdiff
<pcap.h> includes <sys/types.h> and <sys/time.h>; there's no need to
authorguy <guy>
Sun, 24 Mar 2002 23:21:51 +0000 (23:21 +0000)
committerguy <guy>
Sun, 24 Mar 2002 23:21:51 +0000 (23:21 +0000)
include it in these files, as they either include "pcap-int.h", which
includes <pcap.h>, or they include <pcap.h> directly.

bpf_dump.c
bpf_image.c
optimize.c
savefile.c

index 0b651c2a494f16b6a6a3058a90f874760cf143f0..74927f4792e94d4b4175295baf8646315ef8816a 100644 (file)
  */
 #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>
 
index ab225eda2ad1e177cece418476e2d797aabe28b5..d38d978c26d18bfd7483d1d8444496a1dc9b7618 100644 (file)
 
 #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>
 
index d44e041d2cb770a33716917c2c6847c269ed8c36..c72c8cb1089e966d2576140ca51ac27735490a3d 100644 (file)
  */
 #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>
index 08d50ab7ddcee60dd0501d58c88d4834db0fd550..7edf5b217013f8769d4b6bed2a20f428b0d884e3 100644 (file)
 
 #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>