Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Feb 2009 18:31:35 +0000 (UTC)
From:      Luigi Rizzo <luigi@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r188589 - stable/7/sys/netinet
Message-ID:  <200902131831.n1DIVZpj095941@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: luigi
Date: Fri Feb 13 18:31:35 2009
New Revision: 188589
URL: http://svn.freebsd.org/changeset/base/188589

Log:
  remove some unnecessary #include
  Again, this change is not directly applicable to HEAD due
  to the presence of vnet.h and vinet.h which bring in almost
  every network-related header.

Modified:
  stable/7/sys/netinet/ip_dummynet.c
  stable/7/sys/netinet/ip_fw2.c
  stable/7/sys/netinet/ip_fw_pfil.c
  stable/7/sys/netinet/ip_input.c

Modified: stable/7/sys/netinet/ip_dummynet.c
==============================================================================
--- stable/7/sys/netinet/ip_dummynet.c	Fri Feb 13 18:18:14 2009	(r188588)
+++ stable/7/sys/netinet/ip_dummynet.c	Fri Feb 13 18:31:35 2009	(r188589)
@@ -73,7 +73,6 @@ __FBSDID("$FreeBSD$");
 #include <net/if.h>	/* IFNAMSIZ, struct ifaddr, ifq head, lock.h mutex.h */
 #include <net/netisr.h>
 #include <netinet/in.h>
-#include <netinet/in_systm.h>	/* n_long, SYSCTL_DECL(_net) */
 #include <netinet/ip.h>	/* ip_len, ip_off */
 #include <netinet/ip_fw.h>
 #include <netinet/ip_dummynet.h>

Modified: stable/7/sys/netinet/ip_fw2.c
==============================================================================
--- stable/7/sys/netinet/ip_fw2.c	Fri Feb 13 18:18:14 2009	(r188588)
+++ stable/7/sys/netinet/ip_fw2.c	Fri Feb 13 18:31:35 2009	(r188589)
@@ -72,7 +72,6 @@ __FBSDID("$FreeBSD$");
 #define	IPFW_INTERNAL	/* Access to protected data structures in ip_fw.h. */
 
 #include <netinet/in.h>
-#include <netinet/in_systm.h>
 #include <netinet/in_var.h>
 #include <netinet/in_pcb.h>
 #include <netinet/ip.h>

Modified: stable/7/sys/netinet/ip_fw_pfil.c
==============================================================================
--- stable/7/sys/netinet/ip_fw_pfil.c	Fri Feb 13 18:18:14 2009	(r188588)
+++ stable/7/sys/netinet/ip_fw_pfil.c	Fri Feb 13 18:31:35 2009	(r188589)
@@ -46,15 +46,11 @@ __FBSDID("$FreeBSD$");
 #include <sys/socket.h>
 #include <sys/socketvar.h>
 #include <sys/sysctl.h>
-#include <sys/ucred.h>
 
 #include <net/if.h>
-#include <net/route.h>
 #include <net/pfil.h>
 
 #include <netinet/in.h>
-#include <netinet/in_systm.h>
-#include <netinet/in_var.h>
 #include <netinet/ip.h>
 #include <netinet/ip_var.h>
 #include <netinet/ip_fw.h>

Modified: stable/7/sys/netinet/ip_input.c
==============================================================================
--- stable/7/sys/netinet/ip_input.c	Fri Feb 13 18:18:14 2009	(r188588)
+++ stable/7/sys/netinet/ip_input.c	Fri Feb 13 18:31:35 2009	(r188589)
@@ -61,7 +61,6 @@ __FBSDID("$FreeBSD$");
 #include <net/netisr.h>
 
 #include <netinet/in.h>
-#include <netinet/in_systm.h>
 #include <netinet/in_var.h>
 #include <netinet/ip.h>
 #include <netinet/in_pcb.h>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902131831.n1DIVZpj095941>