Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/newsmips/include Wrap some declarations with #ifdef...
details: https://anonhg.NetBSD.org/src/rev/bf644acee0c2
branches: trunk
changeset: 515052:bf644acee0c2
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Sun Sep 16 03:20:01 2001 +0000
description:
Wrap some declarations with #ifdef _KERNEL and #ifndef _LOCORE .
diffstat:
sys/arch/newsmips/include/cpu.h | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r 6366ed4047ef -r bf644acee0c2 sys/arch/newsmips/include/cpu.h
--- a/sys/arch/newsmips/include/cpu.h Sun Sep 16 03:02:43 2001 +0000
+++ b/sys/arch/newsmips/include/cpu.h Sun Sep 16 03:20:01 2001 +0000
@@ -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 <mips/cpu.h>
+#ifdef _KERNEL
+#ifndef _LOCORE
extern int systype;
#define NEWS3400 1
#define NEWS5000 2
+#endif
+#endif
#endif /* _NEWSMIPS_CPU_H_ */
Home |
Main Index |
Thread Index |
Old Index