Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci nuke <sys/queue.h> and reorder #include



details:   https://anonhg.NetBSD.org/src/rev/7d81ecc235ca
branches:  trunk
changeset: 1008489:7d81ecc235ca
user:      nisimura <nisimura%NetBSD.org@localhost>
date:      Tue Mar 24 04:00:26 2020 +0000

description:
nuke <sys/queue.h> and reorder #include

diffstat:

 sys/dev/pci/if_kse.c |  23 ++++++++++-------------
 1 files changed, 10 insertions(+), 13 deletions(-)

diffs (41 lines):

diff -r 08a3f16aa749 -r 7d81ecc235ca sys/dev/pci/if_kse.c
--- a/sys/dev/pci/if_kse.c      Tue Mar 24 03:47:39 2020 +0000
+++ b/sys/dev/pci/if_kse.c      Tue Mar 24 04:00:26 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_kse.c,v 1.50 2020/03/02 19:16:02 nisimura Exp $     */
+/*     $NetBSD: if_kse.c,v 1.51 2020/03/24 04:00:26 nisimura Exp $     */
 
 /*-
  * Copyright (c) 2006 The NetBSD Foundation, Inc.
@@ -34,22 +34,19 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_kse.c,v 1.50 2020/03/02 19:16:02 nisimura Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_kse.c,v 1.51 2020/03/24 04:00:26 nisimura Exp $");
 
 #include <sys/param.h>
-#include <sys/systm.h>
-#include <sys/callout.h>
-#include <sys/mbuf.h>
-#include <sys/malloc.h>
-#include <sys/kernel.h>
-#include <sys/ioctl.h>
-#include <sys/errno.h>
-#include <sys/device.h>
-#include <sys/queue.h>
-
-#include <machine/endian.h>
 #include <sys/bus.h>
 #include <sys/intr.h>
+#include <sys/device.h>
+#include <sys/callout.h>
+#include <sys/ioctl.h>
+#include <sys/malloc.h>
+#include <sys/mbuf.h>
+#include <sys/errno.h>
+#include <sys/systm.h>
+#include <sys/kernel.h>
 
 #include <net/if.h>
 #include <net/if_media.h>



Home | Main Index | Thread Index | Old Index