From ede6017f3856687c8160c315b569ae3846cfaf34 Mon Sep 17 00:00:00 2001 From: Peter Valchev Date: Thu, 10 Oct 2002 17:00:58 +0000 Subject: protect against multiple inclusion; pointed out by naddy, miod ok --- sys/arch/alpha/include/pcb.h | 7 ++++++- sys/arch/hp300/include/pcb.h | 7 ++++++- sys/arch/sparc64/include/pcb.h | 7 ++++++- 3 files changed, 18 insertions(+), 3 deletions(-) (limited to 'sys') 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 #include @@ -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 /* @@ -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 #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_ */ -- cgit v1.2.3