util: replace Elements() with ARRAY_SIZE()

Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
Brian Paul 2015-02-28 13:28:06 -07:00
parent 6633271159
commit 692bd4a1ab

View file

@ -94,6 +94,6 @@ __bitset_ffs(const BITSET_WORD *x, int n)
return 0;
}
#define BITSET_FFS(x) __bitset_ffs(x, Elements(x))
#define BITSET_FFS(x) __bitset_ffs(x, ARRAY_SIZE(x))
#endif