diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2012-08-01 14:30:54 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2012-08-01 14:33:38 -0700 |
commit | e84a5dced96edbd298e154cf7db2d876f49f5c5a (patch) | |
tree | 090156579dfb9e14bcbc56fe664e3745549fa8e5 /lib/u64.h | |
parent | f97192f62226734f9813010d1068cef4fbe95076 (diff) | |
download | gnulib-e84a5dced96edbd298e154cf7db2d876f49f5c5a.tar.gz |
Keep the extern-inline macros closer together.
Diffstat (limited to 'lib/u64.h')
-rw-r--r-- | lib/u64.h | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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 |