summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2013-05-01 05:48:32 +0000
committerimp <imp@FreeBSD.org>2013-05-01 05:48:32 +0000
commite614c625206a0bf9adbdb7edd3ca4b22731072af (patch)
treeea60272b826229c96ad18a5fc9adcf3b0ad5c77c
parent209bc458d47591ef5e9de40d0fcef3fb1de78643 (diff)
downloadFreeBSD-src-e614c625206a0bf9adbdb7edd3ca4b22731072af.zip
FreeBSD-src-e614c625206a0bf9adbdb7edd3ca4b22731072af.tar.gz
Add the standard #ifdef header protection.
-rw-r--r--sys/mips/include/regdef.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/mips/include/regdef.h b/sys/mips/include/regdef.h
index 9d66479..4fe8022 100644
--- a/sys/mips/include/regdef.h
+++ b/sys/mips/include/regdef.h
@@ -33,6 +33,9 @@
* $FreeBSD$
*/
+#ifndef _MIPS_INCLUDE_REGDEF_H_
+#define _MIPS_INCLUDE_REGDEF_H_
+
#define zero $0 /* always zero */
#define AT $at /* assembler temp */
#define v0 $2 /* return value */
@@ -65,3 +68,5 @@
#define sp $29 /* stack pointer */
#define s8 $30 /* one more callee saved */
#define ra $31 /* return address */
+
+#endif /* _MIPS_INCLUDE_REGDEF_H_ */
OpenPOWER on IntegriCloud