X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fhmap.c;h=97c6959de014497474e2fec3459ba421c4ed7567;hb=a6ca7c672f6d5aaf24111d3414ea132ec36b40d6;hp=19710295da2c0fe0785c76ff345ef9ae8d2c7a23;hpb=8706009e555bb9fa04a5679e4be2c7c67506802b;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) {