chiark / gitweb /
hashmap: allow hashmap_move() to fail
[elogind.git] / src / shared / set.c
index 1a3465ca8bd59e95e18436de8c351b3647acd71b..84ab82a701738c08d567f9508953e56b1c94c929 100644 (file)
@@ -141,7 +141,7 @@ int set_reserve(Set *s, unsigned entries_add) {
         return hashmap_reserve(MAKE_HASHMAP(s), entries_add);
 }
 
-void set_move(Set *s, Set *other) {
+int set_move(Set *s, Set *other) {
         return hashmap_move(MAKE_HASHMAP(s), MAKE_HASHMAP(other));
 }