X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fhmap.c;h=97c6959de014497474e2fec3459ba421c4ed7567;hb=305b76debf72120672a8ba81d3356b6dccb1da9a;hp=19710295da2c0fe0785c76ff345ef9ae8d2c7a23;hpb=e368cad8ecf6dbf272b2a3775b2e3e5e2dc6a5cf;p=sliver-openvswitch.git diff --git a/lib/hmap.c b/lib/hmap.c index 19710295d..97c6959de 100644 --- a/lib/hmap.c +++ b/lib/hmap.c @@ -16,7 +16,6 @@ #include #include "hmap.h" -#include #include #include #include "coverage.h" @@ -91,8 +90,8 @@ resize(struct hmap *hmap, size_t new_mask) struct hmap tmp; size_t i; - assert(!(new_mask & (new_mask + 1))); - assert(new_mask != SIZE_MAX); + ovs_assert(!(new_mask & (new_mask + 1))); + ovs_assert(new_mask != SIZE_MAX); hmap_init(&tmp); if (new_mask) {