Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net KNF (sort #include <sys/...>) and remove a duplicate
details: https://anonhg.NetBSD.org/src/rev/df0ff79c19d6
branches: trunk
changeset: 821655:df0ff79c19d6
user: skrll <skrll%NetBSD.org@localhost>
date: Sun Feb 12 08:40:19 2017 +0000
description:
KNF (sort #include <sys/...>) and remove a duplicate
diffstat:
sys/net/if_tap.c | 23 +++++++++++------------
1 files changed, 11 insertions(+), 12 deletions(-)
diffs (54 lines):
diff -r a54d3cce02f5 -r df0ff79c19d6 sys/net/if_tap.c
--- a/sys/net/if_tap.c Sun Feb 12 08:25:31 2017 +0000
+++ b/sys/net/if_tap.c Sun Feb 12 08:40:19 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_tap.c,v 1.95 2017/02/07 11:17:50 skrll Exp $ */
+/* $NetBSD: if_tap.c,v 1.96 2017/02/12 08:40:19 skrll Exp $ */
/*
* Copyright (c) 2003, 2004, 2008, 2009 The NetBSD Foundation.
@@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_tap.c,v 1.95 2017/02/07 11:17:50 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_tap.c,v 1.96 2017/02/12 08:40:19 skrll Exp $");
#if defined(_KERNEL_OPT)
@@ -42,26 +42,25 @@
#endif
#include <sys/param.h>
-#include <sys/systm.h>
-#include <sys/kernel.h>
-#include <sys/malloc.h>
+#include <sys/atomic.h>
#include <sys/conf.h>
#include <sys/cprng.h>
#include <sys/device.h>
#include <sys/file.h>
#include <sys/filedesc.h>
+#include <sys/intr.h>
+#include <sys/kauth.h>
+#include <sys/kernel.h>
+#include <sys/malloc.h>
+#include <sys/module.h>
+#include <sys/mutex.h>
#include <sys/poll.h>
#include <sys/proc.h>
#include <sys/select.h>
#include <sys/sockio.h>
+#include <sys/stat.h>
#include <sys/sysctl.h>
-#include <sys/kauth.h>
-#include <sys/mutex.h>
-#include <sys/intr.h>
-#include <sys/stat.h>
-#include <sys/device.h>
-#include <sys/module.h>
-#include <sys/atomic.h>
+#include <sys/systm.h>
#include <net/if.h>
#include <net/if_dl.h>
Home |
Main Index |
Thread Index |
Old Index