Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch protect against multi-inclusion
details: https://anonhg.NetBSD.org/src/rev/01f3cc18201c
branches: trunk
changeset: 748108:01f3cc18201c
user: pooka <pooka%NetBSD.org@localhost>
date: Tue Oct 13 22:41:57 2009 +0000
description:
protect against multi-inclusion
diffstat:
sys/arch/sparc/include/pcb.h | 7 ++++++-
sys/arch/sparc64/include/pcb.h | 7 ++++++-
2 files changed, 12 insertions(+), 2 deletions(-)
diffs (50 lines):
diff -r a60ebace2af1 -r 01f3cc18201c sys/arch/sparc/include/pcb.h
--- a/sys/arch/sparc/include/pcb.h Tue Oct 13 22:04:31 2009 +0000
+++ b/sys/arch/sparc/include/pcb.h Tue Oct 13 22:41:57 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pcb.h,v 1.8 2007/03/04 06:00:44 christos Exp $ */
+/* $NetBSD: pcb.h,v 1.9 2009/10/13 22:41:57 pooka Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -40,6 +40,9 @@
* @(#)pcb.h 8.1 (Berkeley) 6/11/93
*/
+#ifndef _SPARC_PCB_H_
+#define _SPARC_PCB_H_
+
#include <machine/reg.h>
#ifdef notyet
@@ -113,3 +116,5 @@
struct trapframe md_tf;
struct fpstate md_fpstate;
};
+
+#endif /* _SPARC_PCB_H_ */
diff -r a60ebace2af1 -r 01f3cc18201c sys/arch/sparc64/include/pcb.h
--- a/sys/arch/sparc64/include/pcb.h Tue Oct 13 22:04:31 2009 +0000
+++ b/sys/arch/sparc64/include/pcb.h Tue Oct 13 22:41:57 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pcb.h,v 1.15 2007/03/04 06:00:49 christos Exp $ */
+/* $NetBSD: pcb.h,v 1.16 2009/10/13 22:41:57 pooka Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -70,6 +70,9 @@
* @(#)pcb.h 8.1 (Berkeley) 6/11/93
*/
+#ifndef _SPARC64_PCB_H_
+#define _SPARC64_PCB_H_
+
#include <machine/reg.h>
#ifdef notyet
@@ -187,3 +190,5 @@
#define pcb_psr pcb_pstate
#define pcb_wim pcb_cwp
#endif /* _KERNEL */
+
+#endif /* _SPARC64_PCB_H_ */
Home |
Main Index |
Thread Index |
Old Index