summaryrefslogtreecommitdiff
path: root/src/network/networkd-network-bus.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-07-23 15:57:54 +0200
committerLennart Poettering <lennart@poettering.net>2015-07-23 15:57:54 +0200
commit370a2172ac0f455863a1ac8e7a9b0a284d810fd4 (patch)
treea1f89d9d1b471eaca3525c0da7934f6ebb95a3d9 /src/network/networkd-network-bus.c
parentb96c778a00555962e0f9233032f090d0d267c31a (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/network/networkd-network-bus.c')
0 files changed, 0 insertions, 0 deletions