X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fbasic%2Fhashmap.c;h=83c76ae0dd4435ddfcdcdb3feb6ece240466a2e2;hb=5db0e7adf018c82dd63cd21d31dd313dff5561af;hp=55e198960b03e8a76197e01b50bd162a0013f99f;hpb=390fb58fd380304b6a3c185ee076a8dbc87a07fe;p=elogind.git diff --git a/src/basic/hashmap.c b/src/basic/hashmap.c index 55e198960..83c76ae0d 100644 --- a/src/basic/hashmap.c +++ b/src/basic/hashmap.c @@ -1455,6 +1455,8 @@ int hashmap_remove_and_put(Hashmap *h, const void *old_key, const void *new_key, return 0; } +/// UNNEEDED by elogind +#if 0 int set_remove_and_put(Set *s, const void *old_key, const void *new_key) { struct swap_entries swap; struct hashmap_base_entry *e; @@ -1480,6 +1482,7 @@ int set_remove_and_put(Set *s, const void *old_key, const void *new_key) { return 0; } +#endif // 0 int hashmap_remove_and_replace(Hashmap *h, const void *old_key, const void *new_key, void *value) { struct swap_entries swap;