chiark / gitweb /
journalctl: support --root for message catalogs
[elogind.git] / src / shared / set.c
index cd910d70abbc403eb54ae8eb50871c36f93929d6..5f83c50839ae78b831d6f3853eea7ce6c6eb89a4 100644 (file)
@@ -37,26 +37,10 @@ void set_free(Set* s) {
         hashmap_free(MAKE_HASHMAP(s));
 }
 
-void set_freep(Set **s) {
-        if (!s)
-                return;
-
-        set_free(*s);
-        *s = NULL;
-}
-
 void set_free_free(Set *s) {
         hashmap_free_free(MAKE_HASHMAP(s));
 }
 
-void set_free_freep(Set **s) {
-        if (!*s)
-                return;
-
-        set_free_free(*s);
-        *s = NULL;
-}
-
 int set_ensure_allocated(Set **s, hash_func_t hash_func, compare_func_t compare_func) {
         return hashmap_ensure_allocated((Hashmap**) s, hash_func, compare_func);
 }