X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=lib%2Fhmap.h;h=3929c9ce57a5750d41e215515854dfddd32c1bd8;hb=d530fcd2425c2443c1a1c093903b6932c4c5814c;hp=04e51bc6d039b83448b576881ff0592b5ea3e83a;hpb=4e8e4213a815a30216e855a805a8bcd5b8c5a886;p=openvswitch diff --git a/lib/hmap.h b/lib/hmap.h index 04e51bc6..3929c9ce 100644 --- a/lib/hmap.h +++ b/lib/hmap.h @@ -38,6 +38,7 @@ static inline size_t hmap_node_hash(const struct hmap_node *node) } #define HMAP_NODE_NULL ((struct hmap_node *) 1) +#define HMAP_NODE_NULL_INITIALIZER { 0, HMAP_NODE_NULL } /* Returns true if 'node' has been set to null by hmap_node_nullify() and has * not been un-nullified by being inserted into an hmap. */