diff options
| author | pooka <pooka@NetBSD.org> | 2004-04-10 19:32:53 +0000 |
|---|---|---|
| committer | pooka <pooka@NetBSD.org> | 2004-04-10 19:32:53 +0000 |
| commit | b9ae63d8be4b286ef2befd29307552b3d8ee2804 (patch) | |
| tree | 2436793f1a299e8a4acdc0272af02c40ed445d6f /sys/dev/arcbios | |
| parent | 4c019a313e6d1724e89e384e19f7506624f8c6c5 (diff) | |
protect against multiple inclusion
Diffstat (limited to 'sys/dev/arcbios')
| -rw-r--r-- | sys/dev/arcbios/arcbios.h | 7 | ||||
| -rw-r--r-- | sys/dev/arcbios/arcbiosvar.h | 6 |
2 files changed, 11 insertions, 2 deletions
diff --git a/sys/dev/arcbios/arcbios.h b/sys/dev/arcbios/arcbios.h index 922a899b99b..1bda4a1d334 100644 --- a/sys/dev/arcbios/arcbios.h +++ b/sys/dev/arcbios/arcbios.h @@ -1,4 +1,4 @@ -/* $NetBSD: arcbios.h,v 1.4 2003/12/29 06:26:41 sekiya Exp $ */ +/* $NetBSD: arcbios.h,v 1.5 2004/04/10 19:32:53 pooka Exp $ */ /*- * Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -43,6 +43,9 @@ * http://www.microsoft.com/hwdev/download/respec/riscspec.zip */ +#ifndef _ARCBIOS_H_ +#define _ARCBIOS_H_ + #define ARCBIOS_STDIN 0 #define ARCBIOS_STDOUT 1 @@ -467,3 +470,5 @@ struct arcbios_fv { uint32_t); /* file ID */ #endif }; + +#endif /* _ARCBIOS_H_ */ diff --git a/sys/dev/arcbios/arcbiosvar.h b/sys/dev/arcbios/arcbiosvar.h index 0d0290e78d3..5a0fe52b603 100644 --- a/sys/dev/arcbios/arcbiosvar.h +++ b/sys/dev/arcbios/arcbiosvar.h @@ -1,4 +1,4 @@ -/* $NetBSD: arcbiosvar.h,v 1.3 2001/07/08 23:57:09 thorpej Exp $ */ +/* $NetBSD: arcbiosvar.h,v 1.4 2004/04/10 19:32:53 pooka Exp $ */ /*- * Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -36,6 +36,9 @@ * POSSIBILITY OF SUCH DAMAGE. */ +#ifndef _ARCBIOSVAR_H_ +#define _ARCBIOSVAR_H_ + #ifdef _KERNEL /* @@ -62,3 +65,4 @@ void arcbios_tree_walk(void (*)(struct arcbios_component *, void arcbios_component_id_copy(struct arcbios_component *, char *, size_t); #endif /* _KERNEL */ +#endif /* _ARCBIOSVAR_H_ */ |
