chiark / gitweb /
hashmap: allow hashmap_move() to fail
[elogind.git] / src / shared / set.h
index 8fe071a326b175096383a887a12727a362d5db7c..d2622d17eaedd5e62bdaa4369c78fb60d7716532 100644 (file)
@@ -51,7 +51,7 @@ int set_remove_and_put(Set *s, void *old_value, void *new_value);
 
 int set_merge(Set *s, Set *other);
 int set_reserve(Set *s, unsigned entries_add);
-void set_move(Set *s, Set *other);
+int set_move(Set *s, Set *other);
 int set_move_one(Set *s, Set *other, void *value);
 
 unsigned set_size(Set *s);