summaryrefslogtreecommitdiff
path: root/sys/arch/arm/include/endian.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2005-12-13 00:35:25 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2005-12-13 00:35:25 +0000
commitb37c889bf62a36bfc3a70a30cb8c6e2e9b253d51 (patch)
tree12a945cbf5263926f1c35d9dab17e5ca17d14869 /sys/arch/arm/include/endian.h
parent4623e5435a9e80c267c1b601a543e14f95b883da (diff)
First step in include files overhaul. Use __FOO_VISIBLE (as defined
in sys/cdefs.h) instead of _FOO_SOURCE. Also fix several namespace pollution issues, including the byte order defines. OK deraadt@
Diffstat (limited to 'sys/arch/arm/include/endian.h')
-rw-r--r--sys/arch/arm/include/endian.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/arm/include/endian.h b/sys/arch/arm/include/endian.h
index 8c4ab24c701..75f93114cc3 100644
--- a/sys/arch/arm/include/endian.h
+++ b/sys/arch/arm/include/endian.h
@@ -1,9 +1,9 @@
-/* $OpenBSD: endian.h,v 1.2 2005/01/20 15:04:54 drahn Exp $ */
+/* $OpenBSD: endian.h,v 1.3 2005/12/13 00:35:23 millert Exp $ */
#ifdef __ARMEB__
-#define BYTE_ORDER BIG_ENDIAN
+#define _BYTE_ORDER _BIG_ENDIAN
#else
-#define BYTE_ORDER LITTLE_ENDIAN
+#define _BYTE_ORDER _LITTLE_ENDIAN
#endif
#define __STRICT_ALIGNMENT
#include <sys/endian.h>