Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic kill bunch of unneeded includes



details:   https://anonhg.NetBSD.org/src/rev/83feb4facc4e
branches:  trunk
changeset: 507684:83feb4facc4e
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Thu Mar 29 08:48:55 2001 +0000

description:
kill bunch of unneeded includes

diffstat:

 sys/dev/ic/we.c |  25 +------------------------
 1 files changed, 1 insertions(+), 24 deletions(-)

diffs (46 lines):

diff -r ab9acd2c4532 -r 83feb4facc4e sys/dev/ic/we.c
--- a/sys/dev/ic/we.c   Thu Mar 29 08:47:47 2001 +0000
+++ b/sys/dev/ic/we.c   Thu Mar 29 08:48:55 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: we.c,v 1.1 2001/03/23 17:34:41 jdolecek Exp $  */
+/*     $NetBSD: we.c,v 1.2 2001/03/29 08:48:55 jdolecek Exp $  */
 
 /*-
  * Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -55,11 +55,6 @@
  * and the SMC Elite Ultra (8216).
  */
 
-#include "opt_inet.h"
-#include "opt_ns.h"
-#include "bpfilter.h"
-#include "rnd.h" 
-
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/device.h>
@@ -74,24 +69,6 @@
 
 #include <net/if_ether.h>
 
-#ifdef INET
-#include <netinet/in.h>
-#include <netinet/in_systm.h>
-#include <netinet/in_var.h> 
-#include <netinet/ip.h>
-#include <netinet/if_inarp.h> 
-#endif 
-
-#ifdef NS
-#include <netns/ns.h>
-#include <netns/ns_if.h>
-#endif
-
-#if NBPFILTER > 0
-#include <net/bpf.h>
-#include <net/bpfdesc.h>
-#endif
-
 #include <machine/bus.h>
 #include <machine/bswap.h>
 #include <machine/intr.h>



Home | Main Index | Thread Index | Old Index