summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2009-07-12 20:07:54 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2009-07-12 20:07:54 +0000
commita434aaccc80703d795f7b657854c13afc56100c5 (patch)
tree7b757d5e94a220c50552d1e7dac2e01db01133c7 /sys/arch
parentb2fd47dfe0e6d9c0ad70f492d131af5197327b3c (diff)
Add protection against multiple inclusion.
ok miod@
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc/include/autoconf.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/arch/sparc/include/autoconf.h b/sys/arch/sparc/include/autoconf.h
index 7e2a690d1af..af812cebb7f 100644
--- a/sys/arch/sparc/include/autoconf.h
+++ b/sys/arch/sparc/include/autoconf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.h,v 1.16 2007/05/04 03:44:44 deraadt Exp $ */
+/* $OpenBSD: autoconf.h,v 1.17 2009/07/12 20:07:53 kettenis Exp $ */
/* $NetBSD: autoconf.h,v 1.20 1997/05/24 20:03:03 pk Exp $ */
/*
@@ -45,6 +45,9 @@
* Autoconfiguration information.
*/
+#ifndef _MACHINE_AUTOCONF_H_
+#define _MACHINE_AUTOCONF_H_
+
/*
* Most devices are configured according to information kept in
* the FORTH PROMs. In particular, we extract the `name', `reg',
@@ -201,3 +204,5 @@ int findroot(void);
int findnode(int, const char *);
int opennode(char *);
int node_has_property(int, const char *);
+
+#endif /* _MACHINE_AUTOCONF_H_ */