diff options
author | Jeff King <peff@peff.net> | 2015-06-03 08:39:37 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-06-03 09:04:01 +0200 |
commit | 34b935c01f28d34f6764f0e1140ad47e7abdde1b (patch) | |
tree | f033bf6a1c6c1896e712c465ddaff50ad78fa3e2 /ewah/ewok.h | |
parent | ewah/bitmap: silence warning about MASK macro redefinition (diff) | |
download | git-34b935c01f28d34f6764f0e1140ad47e7abdde1b.tar.xz git-34b935c01f28d34f6764f0e1140ad47e7abdde1b.zip |
ewah: use less generic macro name
The ewah/ewok.h header pollutes the global namespace with
"BITS_IN_WORD", without any specific notion that we are
talking about the bits in an eword_t. We can give this the
more specific name "BITS_IN_EWORD".
Signed-off-by: Jeff King <peff@peff.net>
Reviewed-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ewah/ewok.h')
-rw-r--r-- | ewah/ewok.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ewah/ewok.h b/ewah/ewok.h index 43adeb5c68..7e311b3cd4 100644 --- a/ewah/ewok.h +++ b/ewah/ewok.h @@ -31,7 +31,7 @@ #endif typedef uint64_t eword_t; -#define BITS_IN_WORD (sizeof(eword_t) * 8) +#define BITS_IN_EWORD (sizeof(eword_t) * 8) /** * Do not use __builtin_popcountll. The GCC implementation |