Source-Changes-HG archive

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

[src/trunk]: src/sys/net Tidy up header inclusions



details:   https://anonhg.NetBSD.org/src/rev/6b09885bb07c
branches:  trunk
changeset: 339813:6b09885bb07c
user:      ozaki-r <ozaki-r%NetBSD.org@localhost>
date:      Wed Aug 12 02:20:31 2015 +0000

description:
Tidy up header inclusions

diffstat:

 sys/net/if_ethersubr.c |  16 ++++------------
 1 files changed, 4 insertions(+), 12 deletions(-)

diffs (49 lines):

diff -r e8b9118bd32f -r 6b09885bb07c sys/net/if_ethersubr.c
--- a/sys/net/if_ethersubr.c    Tue Aug 11 22:28:34 2015 +0000
+++ b/sys/net/if_ethersubr.c    Wed Aug 12 02:20:31 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_ethersubr.c,v 1.210 2015/06/04 09:19:59 ozaki-r Exp $       */
+/*     $NetBSD: if_ethersubr.c,v 1.211 2015/08/12 02:20:31 ozaki-r Exp $       */
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -61,7 +61,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ethersubr.c,v 1.210 2015/06/04 09:19:59 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ethersubr.c,v 1.211 2015/08/12 02:20:31 ozaki-r Exp $");
 
 #include "opt_inet.h"
 #include "opt_atalk.h"
@@ -76,21 +76,12 @@
 #include "arp.h"
 #include "agr.h"
 
-#include <sys/param.h>
-#include <sys/systm.h>
 #include <sys/sysctl.h>
-#include <sys/kernel.h>
-#include <sys/callout.h>
 #include <sys/malloc.h>
 #include <sys/mbuf.h>
-#include <sys/protosw.h>
-#include <sys/socket.h>
+#include <sys/mutex.h>
 #include <sys/ioctl.h>
 #include <sys/errno.h>
-#include <sys/syslog.h>
-#include <sys/kauth.h>
-#include <sys/cpu.h>
-#include <sys/intr.h>
 #include <sys/device.h>
 #include <sys/rnd.h>
 #include <sys/rndsource.h>
@@ -101,6 +92,7 @@
 #include <net/if_llc.h>
 #include <net/if_dl.h>
 #include <net/if_types.h>
+#include <net/pktqueue.h>
 
 #include <net/if_media.h>
 #include <dev/mii/mii.h>



Home | Main Index | Thread Index | Old Index