X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fbasic%2Fset.h;h=ae02f4fe2aaadc972551b8630f7f24e0f3fd8060;hp=32daa05f79bf071a6bcb214af3050caf550f5919;hb=6917418372a990fbfe9a39864ccefacb37c70cc8;hpb=2705eaf36d46539397571886ba6ccd0045ef3e9b diff --git a/src/basic/set.h b/src/basic/set.h index 32daa05f7..ae02f4fe2 100644 --- a/src/basic/set.h +++ b/src/basic/set.h @@ -65,7 +65,10 @@ static inline void *set_remove(Set *s, const void *key) { /* no set_remove2 */ /* no set_remove_value */ -// UNNEEDED int set_remove_and_put(Set *s, const void *old_key, const void *new_key); +/// UNNEEDED by elogind +#if 0 +int set_remove_and_put(Set *s, const void *old_key, const void *new_key); +#endif // 0 /* no set_remove_and_replace */ int set_merge(Set *s, Set *other); @@ -124,7 +127,10 @@ static inline char **set_get_strv(Set *s) { int set_consume(Set *s, void *value); int set_put_strdup(Set *s, const char *p); -// UNNEEDED int set_put_strdupv(Set *s, char **l); +/// UNNEEDED by elogind +#if 0 +int set_put_strdupv(Set *s, char **l); +#endif // 0 #define SET_FOREACH(e, s, i) \ for ((i) = ITERATOR_FIRST; set_iterate((s), &(i), (void**)&(e)); )