summaryrefslogtreecommitdiff
path: root/sys/arch/loongson
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2015-09-30 15:35:31 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2015-09-30 15:35:31 +0000
commit7da6ac9bd0e5cb59fed5773fbd2397113e6583d8 (patch)
treed0cd9dd13603448bc53076a0319624d3bab0db02 /sys/arch/loongson
parentfd82dbea8675ae20e037702d2bef4ffaa426fc0f (diff)
Use #ifndef _MACHINE_DISKLABEL_H_ everywhere. Replace _ARM_DISKLABEL_H_
and _SH_DISKLABEL_H_ with _MACHINE_DISKLABEL_H_. Add the guard to loongson and octeon. The #defines are not used anywhere else in the tree so no functional change.
Diffstat (limited to 'sys/arch/loongson')
-rw-r--r--sys/arch/loongson/include/disklabel.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/arch/loongson/include/disklabel.h b/sys/arch/loongson/include/disklabel.h
index 6fe42a8bf66..ff4de7b53ed 100644
--- a/sys/arch/loongson/include/disklabel.h
+++ b/sys/arch/loongson/include/disklabel.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: disklabel.h,v 1.2 2015/09/30 14:57:03 krw Exp $ */
+/* $OpenBSD: disklabel.h,v 1.3 2015/09/30 15:35:30 krw Exp $ */
/* public domain */
/*
@@ -6,6 +6,11 @@
* of the OpenBSD partition.
*/
+#ifndef _MACHINE_DISKLABEL_H_
+#define _MACHINE_DISKLABEL_H_
+
#define LABELSECTOR 1 /* sector containing label */
#define LABELOFFSET 0 /* offset of label in sector */
#define MAXPARTITIONS 16 /* number of partitions */
+
+#endif /* _MACHINE_DISKLABEL_H_ */