Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/i386/i386 Remove unnecessary #includes.
details: https://anonhg.NetBSD.org/src/rev/0e430b02f158
branches: trunk
changeset: 500508:0e430b02f158
user: mycroft <mycroft%NetBSD.org@localhost>
date: Wed Dec 13 01:24:46 2000 +0000
description:
Remove unnecessary #includes.
diffstat:
sys/arch/i386/i386/ibcs2_syscall.c | 9 ++-------
sys/arch/i386/i386/linux_syscall.c | 7 +------
sys/arch/i386/i386/svr4_syscall.c | 7 +------
sys/arch/i386/i386/syscall.c | 7 +------
4 files changed, 5 insertions(+), 25 deletions(-)
diffs (119 lines):
diff -r 8a6e79162ee1 -r 0e430b02f158 sys/arch/i386/i386/ibcs2_syscall.c
--- a/sys/arch/i386/i386/ibcs2_syscall.c Wed Dec 13 01:06:03 2000 +0000
+++ b/sys/arch/i386/i386/ibcs2_syscall.c Wed Dec 13 01:24:46 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ibcs2_syscall.c,v 1.13 2000/12/12 20:30:12 mycroft Exp $ */
+/* $NetBSD: ibcs2_syscall.c,v 1.14 2000/12/13 01:24:46 mycroft Exp $ */
/*-
* Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
@@ -46,21 +46,16 @@
#include <sys/systm.h>
#include <sys/proc.h>
#include <sys/user.h>
-#include <sys/acct.h>
-#include <sys/kernel.h>
+#include <sys/signal.h>
#ifdef KTRACE
#include <sys/ktrace.h>
#endif
-#include <sys/signal.h>
#include <sys/syscall.h>
#include <uvm/uvm_extern.h>
#include <machine/cpu.h>
-#include <machine/cpufunc.h>
#include <machine/psl.h>
-#include <machine/reg.h>
-#include <machine/trap.h>
#include <machine/userret.h>
#include <compat/ibcs2/ibcs2_errno.h>
diff -r 8a6e79162ee1 -r 0e430b02f158 sys/arch/i386/i386/linux_syscall.c
--- a/sys/arch/i386/i386/linux_syscall.c Wed Dec 13 01:06:03 2000 +0000
+++ b/sys/arch/i386/i386/linux_syscall.c Wed Dec 13 01:24:46 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_syscall.c,v 1.13 2000/12/12 20:30:12 mycroft Exp $ */
+/* $NetBSD: linux_syscall.c,v 1.14 2000/12/13 01:24:46 mycroft Exp $ */
/*-
* Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
@@ -46,8 +46,6 @@
#include <sys/systm.h>
#include <sys/proc.h>
#include <sys/user.h>
-#include <sys/acct.h>
-#include <sys/kernel.h>
#include <sys/signal.h>
#ifdef KTRACE
#include <sys/ktrace.h>
@@ -57,10 +55,7 @@
#include <uvm/uvm_extern.h>
#include <machine/cpu.h>
-#include <machine/cpufunc.h>
#include <machine/psl.h>
-#include <machine/reg.h>
-#include <machine/trap.h>
#include <machine/userret.h>
#include <compat/linux/arch/i386/linux_errno.h>
diff -r 8a6e79162ee1 -r 0e430b02f158 sys/arch/i386/i386/svr4_syscall.c
--- a/sys/arch/i386/i386/svr4_syscall.c Wed Dec 13 01:06:03 2000 +0000
+++ b/sys/arch/i386/i386/svr4_syscall.c Wed Dec 13 01:24:46 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: svr4_syscall.c,v 1.12 2000/12/12 20:30:13 mycroft Exp $ */
+/* $NetBSD: svr4_syscall.c,v 1.13 2000/12/13 01:24:46 mycroft Exp $ */
/*-
* Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
@@ -46,8 +46,6 @@
#include <sys/systm.h>
#include <sys/proc.h>
#include <sys/user.h>
-#include <sys/acct.h>
-#include <sys/kernel.h>
#include <sys/signal.h>
#ifdef KTRACE
#include <sys/ktrace.h>
@@ -57,10 +55,7 @@
#include <uvm/uvm_extern.h>
#include <machine/cpu.h>
-#include <machine/cpufunc.h>
#include <machine/psl.h>
-#include <machine/reg.h>
-#include <machine/trap.h>
#include <machine/userret.h>
#include <compat/svr4/svr4_errno.h>
diff -r 8a6e79162ee1 -r 0e430b02f158 sys/arch/i386/i386/syscall.c
--- a/sys/arch/i386/i386/syscall.c Wed Dec 13 01:06:03 2000 +0000
+++ b/sys/arch/i386/i386/syscall.c Wed Dec 13 01:24:46 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: syscall.c,v 1.7 2000/12/12 20:30:13 mycroft Exp $ */
+/* $NetBSD: syscall.c,v 1.8 2000/12/13 01:24:46 mycroft Exp $ */
/*-
* Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
@@ -44,8 +44,6 @@
#include <sys/systm.h>
#include <sys/proc.h>
#include <sys/user.h>
-#include <sys/acct.h>
-#include <sys/kernel.h>
#include <sys/signal.h>
#ifdef KTRACE
#include <sys/ktrace.h>
@@ -55,10 +53,7 @@
#include <uvm/uvm_extern.h>
#include <machine/cpu.h>
-#include <machine/cpufunc.h>
#include <machine/psl.h>
-#include <machine/reg.h>
-#include <machine/trap.h>
#include <machine/userret.h>
void syscall_intern __P((struct proc *));
Home |
Main Index |
Thread Index |
Old Index