git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
New functions hmap_moved(), shash_moved().
[sliver-openvswitch.git]
/
lib
/
shash.c
diff --git
a/lib/shash.c
b/lib/shash.c
index
53abbe4
..
a5bfecf
100644
(file)
--- a/
lib/shash.c
+++ b/
lib/shash.c
@@
-46,6
+46,12
@@
shash_swap(struct shash *a, struct shash *b)
hmap_swap(&a->map, &b->map);
}
+void
+shash_moved(struct shash *sh)
+{
+ hmap_moved(&sh->map);
+}
+
void
shash_clear(struct shash *sh)
{