summaryrefslogtreecommitdiff
path: root/lib/u64.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2012-08-01 14:30:54 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2012-08-01 14:33:38 -0700
commite84a5dced96edbd298e154cf7db2d876f49f5c5a (patch)
tree090156579dfb9e14bcbc56fe664e3745549fa8e5 /lib/u64.h
parentf97192f62226734f9813010d1068cef4fbe95076 (diff)
downloadgnulib-e84a5dced96edbd298e154cf7db2d876f49f5c5a.tar.gz
Keep the extern-inline macros closer together.
Diffstat (limited to 'lib/u64.h')
-rw-r--r--lib/u64.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/u64.h b/lib/u64.h
index 8fd9a95ca9..6a7d370c12 100644
--- a/lib/u64.h
+++ b/lib/u64.h
@@ -20,6 +20,9 @@
#include <stdint.h>
_GL_INLINE_HEADER_BEGIN
+#ifndef _GL_U64_INLINE
+# define _GL_U64_INLINE _GL_INLINE
+#endif
/* Return X rotated left by N bits, where 0 < N < 64. */
#define u64rol(x, n) u64or (u64shl (x, n), u64shr (x, 64 - n))
@@ -54,10 +57,6 @@ typedef struct { uint32_t lo, hi; } u64;
# define u64init(hi, lo) { lo, hi }
# endif
-#ifndef _GL_U64_INLINE
-# define _GL_U64_INLINE _GL_INLINE
-#endif
-
/* Given the high and low-order 32-bit quantities HI and LO, return a u64
value representing (HI << 32) + LO. */
_GL_U64_INLINE u64