From 34b935c01f28d34f6764f0e1140ad47e7abdde1b Mon Sep 17 00:00:00 2001 From: Jeff King Date: Wed, 3 Jun 2015 02:39:37 -0400 Subject: 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 Reviewed-by: Eric Sunshine Signed-off-by: Junio C Hamano --- ewah/ewok.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ewah/ewok.h') 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 -- cgit v1.2.1