Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/arm KNF and remove (some) unnecessary #includes



details:   https://anonhg.NetBSD.org/src/rev/c57ab615ce22
branches:  trunk
changeset: 990539:c57ab615ce22
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat Oct 30 08:20:35 2021 +0000

description:
KNF and remove (some) unnecessary #includes

diffstat:

 sys/arch/arm/arm/undefined.c |  17 +++++++----------
 1 files changed, 7 insertions(+), 10 deletions(-)

diffs (38 lines):

diff -r 239e0f02530f -r c57ab615ce22 sys/arch/arm/arm/undefined.c
--- a/sys/arch/arm/arm/undefined.c      Sat Oct 30 08:10:48 2021 +0000
+++ b/sys/arch/arm/arm/undefined.c      Sat Oct 30 08:20:35 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: undefined.c,v 1.69 2021/10/30 08:10:48 skrll Exp $     */
+/*     $NetBSD: undefined.c,v 1.70 2021/10/30 08:20:35 skrll Exp $     */
 
 /*
  * Copyright (c) 2001 Ben Harris.
@@ -48,22 +48,19 @@
 #include "opt_dtrace.h"
 #include "opt_kgdb.h"
 
+#include <sys/cdefs.h>
+__KERNEL_RCSID(0, "$NetBSD: undefined.c,v 1.70 2021/10/30 08:20:35 skrll Exp $");
+
 #include <sys/param.h>
+#include <sys/cpu.h>
+#include <sys/kmem.h>
 #ifdef KGDB
 #include <sys/kgdb.h>
 #endif
-
-__KERNEL_RCSID(0, "$NetBSD: undefined.c,v 1.69 2021/10/30 08:10:48 skrll Exp $");
-
-#include <sys/kmem.h>
+#include <sys/proc.h>
 #include <sys/queue.h>
 #include <sys/signal.h>
 #include <sys/systm.h>
-#include <sys/proc.h>
-#include <sys/syslog.h>
-#include <sys/vmmeter.h>
-#include <sys/cpu.h>
-#include <sys/userret.h>
 
 #include <uvm/uvm_extern.h>
 



Home | Main Index | Thread Index | Old Index