summaryrefslogtreecommitdiffstats
path: root/sys/netatm
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2002-09-29 12:01:36 +0000
committerbde <bde@FreeBSD.org>2002-09-29 12:01:36 +0000
commit372e8e5e08c9b78b49cbb1815b30adbae9e47e17 (patch)
treec093fb38f97b0df9f9509c6768d59d704af5fb45 /sys/netatm
parentacb73329e9edd41219b7368ad879c6c94f830cb5 (diff)
downloadFreeBSD-src-372e8e5e08c9b78b49cbb1815b30adbae9e47e17.zip
FreeBSD-src-372e8e5e08c9b78b49cbb1815b30adbae9e47e17.tar.gz
Include <sys/systm.h> instead of depending on namespace pollution in
<net/if_var.h>. But depend on the standard pollution in <sys/param.h>. Removed unused includes.
Diffstat (limited to 'sys/netatm')
-rw-r--r--sys/netatm/sigpvc/sigpvc_subr.c9
-rw-r--r--sys/netatm/uni/uniip.c9
2 files changed, 2 insertions, 16 deletions
diff --git a/sys/netatm/sigpvc/sigpvc_subr.c b/sys/netatm/sigpvc/sigpvc_subr.c
index 995979e..4c3196e 100644
--- a/sys/netatm/sigpvc/sigpvc_subr.c
+++ b/sys/netatm/sigpvc/sigpvc_subr.c
@@ -36,24 +36,17 @@
*/
#include <sys/param.h>
-#include <sys/types.h>
-#include <sys/errno.h>
-#include <sys/time.h>
+#include <sys/systm.h>
#include <sys/socket.h>
-#include <sys/socketvar.h>
#include <net/if.h>
#include <netatm/port.h>
#include <netatm/queue.h>
#include <netatm/atm.h>
#include <netatm/atm_sys.h>
-#include <netatm/atm_sap.h>
#include <netatm/atm_cm.h>
#include <netatm/atm_if.h>
#include <netatm/atm_vc.h>
#include <netatm/atm_sigmgr.h>
-#include <netatm/atm_stack.h>
-#include <netatm/atm_pcb.h>
-#include <netatm/atm_var.h>
#include <netatm/sigpvc/sigpvc_var.h>
diff --git a/sys/netatm/uni/uniip.c b/sys/netatm/uni/uniip.c
index 802571f..3635523 100644
--- a/sys/netatm/uni/uniip.c
+++ b/sys/netatm/uni/uniip.c
@@ -36,24 +36,17 @@
*/
#include <sys/param.h>
-#include <sys/types.h>
-#include <sys/errno.h>
+#include <sys/systm.h>
#include <sys/malloc.h>
-#include <sys/time.h>
#include <sys/socket.h>
-#include <sys/socketvar.h>
#include <net/if.h>
#include <netinet/in.h>
#include <netatm/port.h>
#include <netatm/queue.h>
#include <netatm/atm.h>
#include <netatm/atm_sys.h>
-#include <netatm/atm_sap.h>
#include <netatm/atm_cm.h>
#include <netatm/atm_if.h>
-#include <netatm/atm_stack.h>
-#include <netatm/atm_pcb.h>
-#include <netatm/atm_var.h>
#include <netatm/ipatm/ipatm_var.h>
#include <netatm/ipatm/ipatm_serv.h>
OpenPOWER on IntegriCloud