summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
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/amd64
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/amd64')
-rw-r--r--sys/arch/amd64/include/endian.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/include/endian.h b/sys/arch/amd64/include/endian.h
index 9e2734b8b7c..7cdd9bfb1e6 100644
--- a/sys/arch/amd64/include/endian.h
+++ b/sys/arch/amd64/include/endian.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: endian.h,v 1.2 2005/12/12 13:19:15 jsg Exp $ */
+/* $OpenBSD: endian.h,v 1.3 2005/12/13 00:35:22 millert Exp $ */
/*-
* Copyright (c) 1997 Niklas Hallqvist. All rights reserved.
@@ -56,7 +56,7 @@
#endif /* __GNUC__ */
-#define BYTE_ORDER LITTLE_ENDIAN
+#define _BYTE_ORDER _LITTLE_ENDIAN
#include <sys/endian.h>
#endif /* _I386_ENDIAN_H_ */