diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-07-23 15:57:54 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-07-23 15:57:54 +0200 |
commit | 370a2172ac0f455863a1ac8e7a9b0a284d810fd4 (patch) | |
tree | a1f89d9d1b471eaca3525c0da7934f6ebb95a3d9 /src/basic/build.h | |
parent | b96c778a00555962e0f9233032f090d0d267c31a (diff) |
bitmap: various clean-ups
a) use memcmp() to compare bitmaps efficiently
b) use UINT64_C() macro instead of ULL suffixes to get right suffix for
uint64_t constants
c) add a few assert()s
d) when comparing integers with 0 we generally try to make this explicit
with "!= 0".
e) remove redundant bitmap_isset() if check, as we don't have it in
bitmap_isset() either.
f) It should be fine to invoke bitmap_unset() on a NULL bitmap
Diffstat (limited to 'src/basic/build.h')
0 files changed, 0 insertions, 0 deletions