]> The Tcpdump Group git mirrors - libpcap/commitdiff
Get rid of probably-unnecessary includes of <net/if.h>.
authorguy <guy>
Mon, 5 Aug 2002 07:59:43 +0000 (07:59 +0000)
committerguy <guy>
Mon, 5 Aug 2002 07:59:43 +0000 (07:59 +0000)
gencode.c
grammar.y

index 60fb3276fb138827ae988be64e02c66451fcb49b..c2b509cc706b3d38c3d5bcdf6ba62cf9bd67f46d 100644 (file)
--- a/gencode.c
+++ b/gencode.c
@@ -21,7 +21,7 @@
  */
 #ifndef lint
 static const char rcsid[] =
  */
 #ifndef lint
 static const char rcsid[] =
-    "@(#) $Header: /tcpdump/master/libpcap/gencode.c,v 1.172 2002-08-02 05:53:53 guy Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/libpcap/gencode.c,v 1.173 2002-08-05 07:59:43 guy Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -49,10 +49,6 @@ static const char rcsid[] =
 #include <sys/param.h>
 #endif
 
 #include <sys/param.h>
 #endif
 
-struct mbuf;           /* Squelch compiler warnings on some platforms for */
-struct rtentry;                /* declarations in <net/if.h> */
-#include <net/if.h>
-
 #include <netinet/in.h>
 
 #endif /* WIN32 */
 #include <netinet/in.h>
 
 #endif /* WIN32 */
index 5666667817420a1fa0cc39575e645eafe0495504..1e7536d1df84661b9d0f13c984fb0fe66a2b7b2c 100644 (file)
--- a/grammar.y
+++ b/grammar.y
@@ -22,7 +22,7 @@
  */
 #ifndef lint
 static const char rcsid[] =
  */
 #ifndef lint
 static const char rcsid[] =
-    "@(#) $Header: /tcpdump/master/libpcap/grammar.y,v 1.75 2002-08-02 05:11:13 guy Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/libpcap/grammar.y,v 1.76 2002-08-05 07:59:43 guy Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -45,8 +45,6 @@ struct mbuf;
 struct rtentry;
 #endif
 
 struct rtentry;
 #endif
 
-#include <net/if.h>
-
 #include <netinet/in.h>
 #endif /* WIN32 */
 
 #include <netinet/in.h>
 #endif /* WIN32 */