projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
classifier: Rewrite.
[openvswitch]
/
lib
/
hmap.h
diff --git
a/lib/hmap.h
b/lib/hmap.h
index 04e51bc6d039b83448b576881ff0592b5ea3e83a..3929c9ce57a5750d41e215515854dfddd32c1bd8 100644
(file)
--- 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. */