From 0ca3d21b5b65c3117674b75b2e03741d85977eb0 Mon Sep 17 00:00:00 2001 From: dsl Date: Fri, 21 Sep 2007 19:14:12 +0000 Subject: [PATCH] Include sys/cdefs.h first. --- sys/kern/kern_mutex.c | 8 ++++---- sys/kern/kern_pax.c | 5 ++++- sys/kern/kern_rwlock.c | 8 ++++---- sys/kern/subr_lockdebug.c | 8 ++++---- sys/kern/sys_pmc.c | 8 ++++---- sys/kern/sys_process.c | 8 ++++---- 6 files changed, 24 insertions(+), 21 deletions(-) diff --git a/sys/kern/kern_mutex.c b/sys/kern/kern_mutex.c index b22d7c2911ca..491da6d02629 100644 --- a/sys/kern/kern_mutex.c +++ b/sys/kern/kern_mutex.c @@ -1,4 +1,4 @@ -/* $NetBSD: kern_mutex.c,v 1.17 2007/09/17 21:33:34 ad Exp $ */ +/* $NetBSD: kern_mutex.c,v 1.18 2007/09/21 19:14:12 dsl Exp $ */ /*- * Copyright (c) 2002, 2006, 2007 The NetBSD Foundation, Inc. @@ -44,12 +44,12 @@ * Richard McDougall. */ -#include "opt_multiprocessor.h" - #define __MUTEX_PRIVATE #include -__KERNEL_RCSID(0, "$NetBSD: kern_mutex.c,v 1.17 2007/09/17 21:33:34 ad Exp $"); +__KERNEL_RCSID(0, "$NetBSD: kern_mutex.c,v 1.18 2007/09/21 19:14:12 dsl Exp $"); + +#include "opt_multiprocessor.h" #include #include diff --git a/sys/kern/kern_pax.c b/sys/kern/kern_pax.c index b0ff3f6deeaa..65125f7fe823 100644 --- a/sys/kern/kern_pax.c +++ b/sys/kern/kern_pax.c @@ -1,4 +1,4 @@ -/* $NetBSD: kern_pax.c,v 1.16 2007/06/24 20:35:37 christos Exp $ */ +/* $NetBSD: kern_pax.c,v 1.17 2007/09/21 19:14:12 dsl Exp $ */ /*- * Copyright (c) 2006 Elad Efrat @@ -27,6 +27,9 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include +__KERNEL_RCSID(0, "$NetBSD: kern_pax.c,v 1.17 2007/09/21 19:14:12 dsl Exp $"); + #include "opt_pax.h" #include diff --git a/sys/kern/kern_rwlock.c b/sys/kern/kern_rwlock.c index aadf899a2b15..733318fda617 100644 --- a/sys/kern/kern_rwlock.c +++ b/sys/kern/kern_rwlock.c @@ -1,4 +1,4 @@ -/* $NetBSD: kern_rwlock.c,v 1.9 2007/09/17 21:33:34 ad Exp $ */ +/* $NetBSD: kern_rwlock.c,v 1.10 2007/09/21 19:14:12 dsl Exp $ */ /*- * Copyright (c) 2002, 2006, 2007 The NetBSD Foundation, Inc. @@ -44,10 +44,10 @@ * Richard McDougall. */ -#include "opt_multiprocessor.h" - #include -__KERNEL_RCSID(0, "$NetBSD: kern_rwlock.c,v 1.9 2007/09/17 21:33:34 ad Exp $"); +__KERNEL_RCSID(0, "$NetBSD: kern_rwlock.c,v 1.10 2007/09/21 19:14:12 dsl Exp $"); + +#include "opt_multiprocessor.h" #define __RWLOCK_PRIVATE diff --git a/sys/kern/subr_lockdebug.c b/sys/kern/subr_lockdebug.c index c895033116da..e47f749cfbff 100644 --- a/sys/kern/subr_lockdebug.c +++ b/sys/kern/subr_lockdebug.c @@ -1,4 +1,4 @@ -/* $NetBSD: subr_lockdebug.c,v 1.8 2007/06/15 20:17:08 ad Exp $ */ +/* $NetBSD: subr_lockdebug.c,v 1.9 2007/09/21 19:14:12 dsl Exp $ */ /*- * Copyright (c) 2006, 2007 The NetBSD Foundation, Inc. @@ -40,12 +40,12 @@ * Basic lock debugging code shared among lock primatives. */ +#include +__KERNEL_RCSID(0, "$NetBSD: subr_lockdebug.c,v 1.9 2007/09/21 19:14:12 dsl Exp $"); + #include "opt_multiprocessor.h" #include "opt_ddb.h" -#include -__KERNEL_RCSID(0, "$NetBSD: subr_lockdebug.c,v 1.8 2007/06/15 20:17:08 ad Exp $"); - #include #include #include diff --git a/sys/kern/sys_pmc.c b/sys/kern/sys_pmc.c index b26b05b71f77..6327023fb5c7 100644 --- a/sys/kern/sys_pmc.c +++ b/sys/kern/sys_pmc.c @@ -1,4 +1,4 @@ -/* $NetBSD: sys_pmc.c,v 1.7 2007/02/09 21:55:31 ad Exp $ */ +/* $NetBSD: sys_pmc.c,v 1.8 2007/09/21 19:14:13 dsl Exp $ */ /* * Copyright (c) 2002 Wasabi Systems, Inc. @@ -35,10 +35,10 @@ * POSSIBILITY OF SUCH DAMAGE. */ -#include "opt_perfctrs.h" - #include -__KERNEL_RCSID(0, "$NetBSD: sys_pmc.c,v 1.7 2007/02/09 21:55:31 ad Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sys_pmc.c,v 1.8 2007/09/21 19:14:13 dsl Exp $"); + +#include "opt_perfctrs.h" #include #include diff --git a/sys/kern/sys_process.c b/sys/kern/sys_process.c index b39495715a7a..92cef47296e3 100644 --- a/sys/kern/sys_process.c +++ b/sys/kern/sys_process.c @@ -1,4 +1,4 @@ -/* $NetBSD: sys_process.c,v 1.127 2007/07/21 19:21:53 ad Exp $ */ +/* $NetBSD: sys_process.c,v 1.128 2007/09/21 19:14:13 dsl Exp $ */ /*- * Copyright (c) 1982, 1986, 1989, 1993 @@ -88,13 +88,13 @@ * in this file. */ +#include +__KERNEL_RCSID(0, "$NetBSD: sys_process.c,v 1.128 2007/09/21 19:14:13 dsl Exp $"); + #include "opt_coredump.h" #include "opt_ptrace.h" #include "opt_ktrace.h" -#include -__KERNEL_RCSID(0, "$NetBSD: sys_process.c,v 1.127 2007/07/21 19:21:53 ad Exp $"); - #include #include #include