summaryrefslogtreecommitdiff
path: root/ewah/ewok.h
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2015-06-03 06:39:37 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-06-03 07:04:01 (GMT)
commit34b935c01f28d34f6764f0e1140ad47e7abdde1b (patch)
treef033bf6a1c6c1896e712c465ddaff50ad78fa3e2 /ewah/ewok.h
parent414382fb00c72babe2b22ef0fa757ea7c960f5ce (diff)
downloadgit-34b935c01f28d34f6764f0e1140ad47e7abdde1b.zip
git-34b935c01f28d34f6764f0e1140ad47e7abdde1b.tar.gz
git-34b935c01f28d34f6764f0e1140ad47e7abdde1b.tar.bz2
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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ewah/ewok.h b/ewah/ewok.h
index 43adeb5..7e311b3 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