Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hppa/include Use #ifdef _KERNEL_OPT around #include...



details:   https://anonhg.NetBSD.org/src/rev/c3aa7c7c62f5
branches:  trunk
changeset: 552175:c3aa7c7c62f5
user:      matt <matt%NetBSD.org@localhost>
date:      Sat Sep 20 22:28:19 2003 +0000

description:
Use #ifdef _KERNEL_OPT around #include "opt_XXX.h"

diffstat:

 sys/arch/hppa/include/lock.h  |  4 +++-
 sys/arch/hppa/include/param.h |  4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diffs (38 lines):

diff -r 37f22342e646 -r c3aa7c7c62f5 sys/arch/hppa/include/lock.h
--- a/sys/arch/hppa/include/lock.h      Sat Sep 20 22:26:16 2003 +0000
+++ b/sys/arch/hppa/include/lock.h      Sat Sep 20 22:28:19 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lock.h,v 1.2 2003/06/23 11:01:16 martin Exp $  */
+/*     $NetBSD: lock.h,v 1.3 2003/09/20 22:28:19 matt Exp $    */
 
 /*-
  * Copyright (c) 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
@@ -44,7 +44,9 @@
 #ifndef _HPPA_LOCK_H_
 #define        _HPPA_LOCK_H_
 
+#ifdef _KERNEL_OPT
 #include "opt_multiprocessor.h"
+#endif
 
 #ifdef MULTIPROCESSOR
 
diff -r 37f22342e646 -r c3aa7c7c62f5 sys/arch/hppa/include/param.h
--- a/sys/arch/hppa/include/param.h     Sat Sep 20 22:26:16 2003 +0000
+++ b/sys/arch/hppa/include/param.h     Sat Sep 20 22:28:19 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: param.h,v 1.4 2003/06/23 11:01:17 martin Exp $ */
+/*     $NetBSD: param.h,v 1.5 2003/09/20 22:28:19 matt Exp $   */
 
 /*     $OpenBSD: param.h,v 1.12 2001/07/06 02:07:41 provos Exp $       */
 
@@ -25,7 +25,9 @@
  *     Utah $Hdr: param.h 1.18 94/12/16$
  */
 
+#ifdef _KERNEL_OPT
 #include "opt_compat_hpux.h"
+#endif
 #include <sys/featuretest.h>
 
 #if defined(_NETBSD_SOURCE)



Home | Main Index | Thread Index | Old Index