summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-04-01 13:46:59 +0200
committerAnthony G. Basile <blueness@gentoo.org>2015-04-12 17:20:13 -0400
commit4e9414b6563c7625400f5f6a96ab190d1af1b071 (patch)
tree8880c32aa49832a6a89e16a6b8a0b52c84a3691e /src
parent6529265de6804403d621297ad82dbb0301d4dc57 (diff)
shared: set - make argument to set_remove() const
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src')
-rw-r--r--src/shared/set.h2
1 files changed, 1 insertions, 1 deletions
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);
}