chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
340a1d2
)
shared: set - make argument to set_remove() const
author
Tom Gundersen
<teg@jklm.no>
Wed, 1 Apr 2015 11:46:59 +0000
(13:46 +0200)
committer
Tom Gundersen
<teg@jklm.no>
Wed, 1 Apr 2015 12:45:22 +0000
(14:45 +0200)
src/shared/set.h
patch
|
blob
|
history
diff --git
a/src/shared/set.h
b/src/shared/set.h
index 2b49e2f2870fefdc2191ed7f2321fcbb1a73e579..4dffecd39d9de947786c919c7eca17f63428d419 100644
(file)
--- 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);
}