Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tools/compat <stdint.h> belongs before <sys/endian.h>.



details:   https://anonhg.NetBSD.org/src/rev/1d5fc6b1dd11
branches:  trunk
changeset: 525990:1d5fc6b1dd11
user:      bjh21 <bjh21%NetBSD.org@localhost>
date:      Mon Apr 22 23:40:10 2002 +0000

description:
<stdint.h> belongs before <sys/endian.h>.

diffstat:

 tools/compat/compat_defs.h |  14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diffs (35 lines):

diff -r 1a8cd4db7d17 -r 1d5fc6b1dd11 tools/compat/compat_defs.h
--- a/tools/compat/compat_defs.h        Mon Apr 22 23:39:38 2002 +0000
+++ b/tools/compat/compat_defs.h        Mon Apr 22 23:40:10 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: compat_defs.h,v 1.12 2002/04/22 23:39:38 bjh21 Exp $   */
+/*     $NetBSD: compat_defs.h,v 1.13 2002/04/22 23:40:10 bjh21 Exp $   */
 
 #ifndef        __NETBSD_COMPAT_DEFS_H__
 #define        __NETBSD_COMPAT_DEFS_H__
@@ -349,6 +349,12 @@
 #define _BSD_VA_LIST_ va_list
 #endif
 
+/* <stdint.h> */
+
+#ifndef UINT32_MAX
+#define UINT32_MAX 0xffffffffU
+#endif
+
 /* <sys/endian.h> */
 
 #ifndef HAVE_SYS_ENDIAN_H
@@ -375,12 +381,6 @@
 #define le64toh(x)     htole64(x)
 #endif
 
-/* <stdint.h> */
-
-#ifndef UINT32_MAX
-#define UINT32_MAX 0xffffffffU
-#endif
-
 /* <sys/mman.h> */
 
 #ifndef MAP_FILE



Home | Main Index | Thread Index | Old Index