Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/x68k/include Protect some declarations by #ifdef _K...



details:   https://anonhg.NetBSD.org/src/rev/9e7a8f193469
branches:  trunk
changeset: 476647:9e7a8f193469
user:      minoura <minoura%NetBSD.org@localhost>
date:      Thu Sep 23 15:06:37 1999 +0000

description:
Protect some declarations by #ifdef _KERNEL.

diffstat:

 sys/arch/x68k/include/intr.h |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 68304d509b7a -r 9e7a8f193469 sys/arch/x68k/include/intr.h
--- a/sys/arch/x68k/include/intr.h      Thu Sep 23 11:53:13 1999 +0000
+++ b/sys/arch/x68k/include/intr.h      Thu Sep 23 15:06:37 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: intr.h,v 1.3 1999/08/05 18:08:15 thorpej Exp $ */
+/*     $NetBSD: intr.h,v 1.4 1999/09/23 15:06:37 minoura Exp $ */
 
 /*
  *
@@ -40,6 +40,8 @@
 
 #include <machine/psl.h>
 
+#if defined(_KERNEL) && !defined(_LOCORE)
+
 /* spl0 requires checking for software interrupts */
 void   spl0 __P((void));
 
@@ -77,4 +79,5 @@
 #define setsoftserial() ssir |= SIR_SERIAL
 #define setsoftkbd()    ssir |= SIR_KBD
 
+#endif /* _KERNEL && ! _LOCORE */
 #endif



Home | Main Index | Thread Index | Old Index