From b9ae63d8be4b286ef2befd29307552b3d8ee2804 Mon Sep 17 00:00:00 2001 From: pooka Date: Sat, 10 Apr 2004 19:32:53 +0000 Subject: protect against multiple inclusion --- sys/dev/arcbios/arcbios.h | 7 ++++++- sys/dev/arcbios/arcbiosvar.h | 6 +++++- 2 files changed, 11 insertions(+), 2 deletions(-) (limited to 'sys/dev') 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_ */ -- cgit