X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fshared%2Fset.h;h=4dffecd39d9de947786c919c7eca17f63428d419;hb=b87df1e2ab57146e68e95964a3618b6ebf5ae3f9;hp=2b49e2f2870fefdc2191ed7f2321fcbb1a73e579;hpb=a2341f6836da0a217ab0c5f2b82f0c4ea13d429d;p=elogind.git diff --git a/src/shared/set.h b/src/shared/set.h index 2b49e2f28..4dffecd39 100644 --- a/src/shared/set.h +++ b/src/shared/set.h @@ -57,7 +57,7 @@ static inline bool set_contains(Set *s, const void *key) { return internal_hashmap_contains(HASHMAP_BASE(s), key); } -static inline void *set_remove(Set *s, void *key) { +static inline void *set_remove(Set *s, const void *key) { return internal_hashmap_remove(HASHMAP_BASE(s), key); }