From 4e9414b6563c7625400f5f6a96ab190d1af1b071 Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Wed, 1 Apr 2015 13:46:59 +0200 Subject: shared: set - make argument to set_remove() const Signed-off-by: Anthony G. Basile --- src/shared/set.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/set.h b/src/shared/set.h index 2b49e2f287..4dffecd39d 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); } -- cgit v1.2.3-54-g00ecf