From 831524d3c177332179ac242fc07d74d774ed77be Mon Sep 17 00:00:00 2001 From: tsutsui Date: Sun, 16 Sep 2001 03:20:01 +0000 Subject: [PATCH] Wrap some declarations with #ifdef _KERNEL and #ifndef _LOCORE . --- sys/arch/newsmips/include/cpu.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sys/arch/newsmips/include/cpu.h b/sys/arch/newsmips/include/cpu.h index a68d0a67cc36..5addd6cc72ce 100644 --- a/sys/arch/newsmips/include/cpu.h +++ b/sys/arch/newsmips/include/cpu.h @@ -1,13 +1,17 @@ -/* $NetBSD: cpu.h,v 1.12 2001/09/04 06:23:17 simonb Exp $ */ +/* $NetBSD: cpu.h,v 1.13 2001/09/16 03:20:01 tsutsui Exp $ */ #ifndef _NEWSMIPS_CPU_H_ #define _NEWSMIPS_CPU_H_ #include +#ifdef _KERNEL +#ifndef _LOCORE extern int systype; #define NEWS3400 1 #define NEWS5000 2 +#endif +#endif #endif /* _NEWSMIPS_CPU_H_ */