diff options
author | Peter Valchev <pvalchev@cvs.openbsd.org> | 2002-10-10 17:00:58 +0000 |
---|---|---|
committer | Peter Valchev <pvalchev@cvs.openbsd.org> | 2002-10-10 17:00:58 +0000 |
commit | ede6017f3856687c8160c315b569ae3846cfaf34 (patch) | |
tree | df68f3f03343540df09650be41644923d688aa73 /sys | |
parent | 11afc73e17f33a5e5d5d0ee859987b9f66e84f75 (diff) |
protect against multiple inclusion; pointed out by naddy, miod ok
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/alpha/include/pcb.h | 7 | ||||
-rw-r--r-- | sys/arch/hp300/include/pcb.h | 7 | ||||
-rw-r--r-- | sys/arch/sparc64/include/pcb.h | 7 |
3 files changed, 18 insertions, 3 deletions
diff --git a/sys/arch/alpha/include/pcb.h b/sys/arch/alpha/include/pcb.h index b91bdf22438..d3114d427b9 100644 --- a/sys/arch/alpha/include/pcb.h +++ b/sys/arch/alpha/include/pcb.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pcb.h,v 1.6 2002/04/28 20:55:14 pvalchev Exp $ */ +/* $OpenBSD: pcb.h,v 1.7 2002/10/10 17:00:57 pvalchev Exp $ */ /* $NetBSD: pcb.h,v 1.5 1996/11/13 22:21:00 cgd Exp $ */ /* @@ -28,6 +28,9 @@ * rights to redistribute these changes. */ +#ifndef _ALPHA_PCB_H_ +#define _ALPHA_PCB_H_ + #include <machine/frame.h> #include <machine/reg.h> @@ -68,3 +71,5 @@ struct md_coredump { #ifdef _KERNEL void savectx(struct pcb *); #endif + +#endif /* _ALPHA_PCB_H_ */ diff --git a/sys/arch/hp300/include/pcb.h b/sys/arch/hp300/include/pcb.h index 01f3fe17664..6ccf7a40d7d 100644 --- a/sys/arch/hp300/include/pcb.h +++ b/sys/arch/hp300/include/pcb.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pcb.h,v 1.2 1997/01/12 15:13:38 downsj Exp $ */ +/* $OpenBSD: pcb.h,v 1.3 2002/10/10 17:00:57 pvalchev Exp $ */ /* $NetBSD: pcb.h,v 1.8 1995/05/12 12:55:17 mycroft Exp $ */ /* @@ -43,6 +43,9 @@ * @(#)pcb.h 8.1 (Berkeley) 6/10/93 */ +#ifndef _HP300_PCB_H_ +#define _HP300_PCB_H_ + #include <machine/frame.h> /* @@ -66,3 +69,5 @@ struct pcb { struct md_coredump { int md_exec[16]; /* exec structure for HP-UX core dumps */ }; + +#endif /* _HP300_PCB_H_ */ diff --git a/sys/arch/sparc64/include/pcb.h b/sys/arch/sparc64/include/pcb.h index 1cabe4e2275..baa5fd6317f 100644 --- a/sys/arch/sparc64/include/pcb.h +++ b/sys/arch/sparc64/include/pcb.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pcb.h,v 1.2 2001/08/20 20:23:52 jason Exp $ */ +/* $OpenBSD: pcb.h,v 1.3 2002/10/10 17:00:57 pvalchev Exp $ */ /* $NetBSD: pcb.h,v 1.7 2000/12/29 17:12:05 eeh Exp $ */ /* @@ -45,6 +45,9 @@ * @(#)pcb.h 8.1 (Berkeley) 6/11/93 */ +#ifndef _SPARC64_PCB_H_ +#define _SPARC64_PCB_H_ + #include <machine/reg.h> #ifdef notyet @@ -159,3 +162,5 @@ extern struct pcb *cpcb; #define pcb_psr pcb_pstate #define pcb_wim pcb_cwp #endif /* _KERNEL */ + +#endif /* _SPARC64_PCB_H_ */ |