diff options
author | Sven Eden <yamakuzure@gmx.net> | 2017-04-11 17:07:47 +0200 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2017-04-26 12:59:13 +0200 |
commit | 6917418372a990fbfe9a39864ccefacb37c70cc8 (patch) | |
tree | 1f2a606c0a663b0e755daf2d45a1959832dcbfda /src/basic/set.h | |
parent | 2705eaf36d46539397571886ba6ccd0045ef3e9b (diff) |
Prep v228: Substitute declaration masks (2/4)
Diffstat (limited to 'src/basic/set.h')
-rw-r--r-- | src/basic/set.h | 10 |
1 files changed, 8 insertions, 2 deletions
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)); ) |