Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/common Remove includes <sys/mount.h> and <sys/sch...
details: https://anonhg.NetBSD.org/src/rev/a6c721f35fa8
branches: trunk
changeset: 761047:a6c721f35fa8
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Wed Jan 19 10:21:16 2011 +0000
description:
Remove includes <sys/mount.h> and <sys/sched.h> added for <sys/syscallargs.h>.
Now they are handled by $sysarghdrextra in sys/kern/syscalls.conf.
diffstat:
sys/compat/common/compat_mod.c | 5 ++---
sys/compat/common/if_43.c | 5 ++---
sys/compat/common/kern_sig_13.c | 5 ++---
sys/compat/common/kern_sig_43.c | 5 ++---
sys/compat/common/kern_time_30.c | 5 ++---
sys/compat/common/kern_time_50.c | 5 ++---
sys/compat/common/kern_xxx_12.c | 5 ++---
sys/compat/common/sysv_msg_14.c | 5 ++---
sys/compat/common/sysv_msg_50.c | 5 ++---
sys/compat/common/sysv_sem_14.c | 5 ++---
sys/compat/common/sysv_sem_50.c | 5 ++---
sys/compat/common/sysv_shm_14.c | 5 ++---
sys/compat/common/sysv_shm_50.c | 5 ++---
sys/compat/common/uipc_syscalls_40.c | 5 ++---
sys/compat/common/uipc_syscalls_50.c | 5 ++---
sys/compat/common/vfs_syscalls_12.c | 5 ++---
sys/compat/common/vfs_syscalls_40.c | 5 ++---
sys/compat/common/vm_12.c | 6 ++----
sys/compat/common/vm_43.c | 5 ++---
19 files changed, 38 insertions(+), 58 deletions(-)
diffs (truncated from 471 to 300 lines):
diff -r 5c8107975717 -r a6c721f35fa8 sys/compat/common/compat_mod.c
--- a/sys/compat/common/compat_mod.c Wed Jan 19 10:19:07 2011 +0000
+++ b/sys/compat/common/compat_mod.c Wed Jan 19 10:21:16 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: compat_mod.c,v 1.11 2010/03/05 16:55:56 pooka Exp $ */
+/* $NetBSD: compat_mod.c,v 1.12 2011/01/19 10:21:16 tsutsui Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: compat_mod.c,v 1.11 2010/03/05 16:55:56 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: compat_mod.c,v 1.12 2011/01/19 10:21:16 tsutsui Exp $");
#ifdef _KERNEL_OPT
#include "opt_compat_netbsd.h"
@@ -49,7 +49,6 @@
#include <sys/rwlock.h>
#include <sys/tty.h>
#include <sys/signalvar.h>
-#include <sys/sched.h> /* for cpuset_t */
#include <sys/syscall.h>
#include <sys/syscallargs.h>
#include <sys/syscallvar.h>
diff -r 5c8107975717 -r a6c721f35fa8 sys/compat/common/if_43.c
--- a/sys/compat/common/if_43.c Wed Jan 19 10:19:07 2011 +0000
+++ b/sys/compat/common/if_43.c Wed Jan 19 10:21:16 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_43.c,v 1.3 2010/11/06 17:20:07 christos Exp $ */
+/* $NetBSD: if_43.c,v 1.4 2011/01/19 10:21:16 tsutsui Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1990, 1993
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_43.c,v 1.3 2010/11/06 17:20:07 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_43.c,v 1.4 2011/01/19 10:21:16 tsutsui Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_netbsd.h"
@@ -56,7 +56,6 @@
#include <sys/mbuf.h> /* for MLEN */
#include <sys/protosw.h>
-#include <sys/mount.h>
#include <sys/syscallargs.h>
#include <net/if.h>
diff -r 5c8107975717 -r a6c721f35fa8 sys/compat/common/kern_sig_13.c
--- a/sys/compat/common/kern_sig_13.c Wed Jan 19 10:19:07 2011 +0000
+++ b/sys/compat/common/kern_sig_13.c Wed Jan 19 10:21:16 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_sig_13.c,v 1.19 2008/04/28 20:23:41 martin Exp $ */
+/* $NetBSD: kern_sig_13.c,v 1.20 2011/01/19 10:21:16 tsutsui Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_sig_13.c,v 1.19 2008/04/28 20:23:41 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_sig_13.c,v 1.20 2011/01/19 10:21:16 tsutsui Exp $");
#include <sys/param.h>
#include <sys/proc.h>
@@ -38,7 +38,6 @@
#include <sys/signalvar.h>
#include <sys/systm.h>
-#include <sys/mount.h>
#include <sys/syscallargs.h>
#include <machine/limits.h>
diff -r 5c8107975717 -r a6c721f35fa8 sys/compat/common/kern_sig_43.c
--- a/sys/compat/common/kern_sig_43.c Wed Jan 19 10:19:07 2011 +0000
+++ b/sys/compat/common/kern_sig_43.c Wed Jan 19 10:21:16 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_sig_43.c,v 1.33 2009/11/23 00:46:06 rmind Exp $ */
+/* $NetBSD: kern_sig_43.c,v 1.34 2011/01/19 10:21:16 tsutsui Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_sig_43.c,v 1.33 2009/11/23 00:46:06 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_sig_43.c,v 1.34 2011/01/19 10:21:16 tsutsui Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_netbsd.h"
@@ -56,7 +56,6 @@
#include <sys/core.h>
#include <sys/kauth.h>
-#include <sys/mount.h>
#include <sys/syscallargs.h>
#include <sys/cpu.h>
diff -r 5c8107975717 -r a6c721f35fa8 sys/compat/common/kern_time_30.c
--- a/sys/compat/common/kern_time_30.c Wed Jan 19 10:19:07 2011 +0000
+++ b/sys/compat/common/kern_time_30.c Wed Jan 19 10:21:16 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_time_30.c,v 1.3 2009/01/11 12:19:14 tsutsui Exp $ */
+/* $NetBSD: kern_time_30.c,v 1.4 2011/01/19 10:21:16 tsutsui Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_time_30.c,v 1.3 2009/01/11 12:19:14 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_time_30.c,v 1.4 2011/01/19 10:21:16 tsutsui Exp $");
#include "opt_ntp.h"
@@ -49,7 +49,6 @@
#include <compat/sys/time.h>
#include <compat/sys/timex.h>
-#include <sys/sched.h>
#include <sys/syscallargs.h>
int
diff -r 5c8107975717 -r a6c721f35fa8 sys/compat/common/kern_time_50.c
--- a/sys/compat/common/kern_time_50.c Wed Jan 19 10:19:07 2011 +0000
+++ b/sys/compat/common/kern_time_50.c Wed Jan 19 10:21:16 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_time_50.c,v 1.17 2011/01/17 15:57:04 pooka Exp $ */
+/* $NetBSD: kern_time_50.c,v 1.18 2011/01/19 10:21:16 tsutsui Exp $ */
/*-
* Copyright (c) 2008, 2009 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_time_50.c,v 1.17 2011/01/17 15:57:04 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_time_50.c,v 1.18 2011/01/19 10:21:16 tsutsui Exp $");
#ifdef _KERNEL_OPT
#include "opt_aio.h"
@@ -46,7 +46,6 @@
#include <sys/stat.h>
#include <sys/socketvar.h>
#include <sys/vnode.h>
-#include <sys/mount.h>
#include <sys/proc.h>
#include <sys/uio.h>
#include <sys/dirent.h>
diff -r 5c8107975717 -r a6c721f35fa8 sys/compat/common/kern_xxx_12.c
--- a/sys/compat/common/kern_xxx_12.c Wed Jan 19 10:19:07 2011 +0000
+++ b/sys/compat/common/kern_xxx_12.c Wed Jan 19 10:21:16 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_xxx_12.c,v 1.14 2008/04/23 13:40:17 ad Exp $ */
+/* $NetBSD: kern_xxx_12.c,v 1.15 2011/01/19 10:21:16 tsutsui Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1993
@@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_xxx_12.c,v 1.14 2008/04/23 13:40:17 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_xxx_12.c,v 1.15 2011/01/19 10:21:16 tsutsui Exp $");
/*#ifdef COMPAT_12*/
@@ -41,7 +41,6 @@
#include <sys/systm.h>
#include <sys/proc.h>
#include <sys/reboot.h>
-#include <sys/mount.h>
#include <sys/syscallargs.h>
#include <sys/kauth.h>
diff -r 5c8107975717 -r a6c721f35fa8 sys/compat/common/sysv_msg_14.c
--- a/sys/compat/common/sysv_msg_14.c Wed Jan 19 10:19:07 2011 +0000
+++ b/sys/compat/common/sysv_msg_14.c Wed Jan 19 10:21:16 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sysv_msg_14.c,v 1.18 2009/01/11 02:45:47 christos Exp $ */
+/* $NetBSD: sysv_msg_14.c,v 1.19 2011/01/19 10:21:16 tsutsui Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -31,13 +31,12 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sysv_msg_14.c,v 1.18 2009/01/11 02:45:47 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sysv_msg_14.c,v 1.19 2011/01/19 10:21:16 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/signal.h>
#include <sys/proc.h>
-#include <sys/mount.h>
#include <sys/msg.h>
#include <compat/sys/msg.h>
diff -r 5c8107975717 -r a6c721f35fa8 sys/compat/common/sysv_msg_50.c
--- a/sys/compat/common/sysv_msg_50.c Wed Jan 19 10:19:07 2011 +0000
+++ b/sys/compat/common/sysv_msg_50.c Wed Jan 19 10:21:16 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sysv_msg_50.c,v 1.2 2009/01/11 02:45:47 christos Exp $ */
+/* $NetBSD: sysv_msg_50.c,v 1.3 2011/01/19 10:21:16 tsutsui Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -38,13 +38,12 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sysv_msg_50.c,v 1.2 2009/01/11 02:45:47 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sysv_msg_50.c,v 1.3 2011/01/19 10:21:16 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/signal.h>
#include <sys/proc.h>
-#include <sys/mount.h>
#include <sys/msg.h>
#include <compat/sys/msg.h>
diff -r 5c8107975717 -r a6c721f35fa8 sys/compat/common/sysv_sem_14.c
--- a/sys/compat/common/sysv_sem_14.c Wed Jan 19 10:19:07 2011 +0000
+++ b/sys/compat/common/sysv_sem_14.c Wed Jan 19 10:21:16 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sysv_sem_14.c,v 1.15 2009/01/11 02:45:47 christos Exp $ */
+/* $NetBSD: sysv_sem_14.c,v 1.16 2011/01/19 10:21:16 tsutsui Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -31,13 +31,12 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sysv_sem_14.c,v 1.15 2009/01/11 02:45:47 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sysv_sem_14.c,v 1.16 2011/01/19 10:21:16 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/signal.h>
#include <sys/proc.h>
-#include <sys/mount.h>
#include <sys/sem.h>
#ifndef SYSVSEM
diff -r 5c8107975717 -r a6c721f35fa8 sys/compat/common/sysv_sem_50.c
--- a/sys/compat/common/sysv_sem_50.c Wed Jan 19 10:19:07 2011 +0000
+++ b/sys/compat/common/sysv_sem_50.c Wed Jan 19 10:21:16 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sysv_sem_50.c,v 1.2 2009/01/11 02:45:47 christos Exp $ */
+/* $NetBSD: sysv_sem_50.c,v 1.3 2011/01/19 10:21:16 tsutsui Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -38,13 +38,12 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sysv_sem_50.c,v 1.2 2009/01/11 02:45:47 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sysv_sem_50.c,v 1.3 2011/01/19 10:21:16 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/signal.h>
#include <sys/proc.h>
-#include <sys/mount.h>
#include <sys/sem.h>
#ifndef SYSVSEM
diff -r 5c8107975717 -r a6c721f35fa8 sys/compat/common/sysv_shm_14.c
--- a/sys/compat/common/sysv_shm_14.c Wed Jan 19 10:19:07 2011 +0000
+++ b/sys/compat/common/sysv_shm_14.c Wed Jan 19 10:21:16 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sysv_shm_14.c,v 1.16 2009/01/11 02:45:47 christos Exp $ */
+/* $NetBSD: sysv_shm_14.c,v 1.17 2011/01/19 10:21:16 tsutsui Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -31,13 +31,12 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sysv_shm_14.c,v 1.16 2009/01/11 02:45:47 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sysv_shm_14.c,v 1.17 2011/01/19 10:21:16 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/signal.h>
#include <sys/proc.h>
-#include <sys/mount.h>
#include <sys/shm.h>
Home |
Main Index |
Thread Index |
Old Index