diff options
Diffstat (limited to 'src/shared/set.h')
-rw-r--r-- | src/shared/set.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/shared/set.h b/src/shared/set.h index e650b7e3fe..840ee0a7e4 100644 --- a/src/shared/set.h +++ b/src/shared/set.h @@ -57,24 +57,18 @@ unsigned set_size(Set *s); bool set_isempty(Set *s); void *set_iterate(Set *s, Iterator *i); -void *set_iterate_backwards(Set *s, Iterator *i); -void *set_iterate_skip(Set *s, void *value, Iterator *i); void set_clear(Set *s); void set_clear_free(Set *s); void *set_steal_first(Set *s); void* set_first(Set *s); -void* set_last(Set *s); char **set_get_strv(Set *s); #define SET_FOREACH(e, s, i) \ for ((i) = ITERATOR_FIRST, (e) = set_iterate((s), &(i)); (e); (e) = set_iterate((s), &(i))) -#define SET_FOREACH_BACKWARDS(e, s, i) \ - for ((i) = ITERATOR_LAST, (e) = set_iterate_backwards((s), &(i)); (e); (e) = set_iterate_backwards((s), &(i))) - DEFINE_TRIVIAL_CLEANUP_FUNC(Set*, set_free); DEFINE_TRIVIAL_CLEANUP_FUNC(Set*, set_free_free); #define _cleanup_set_free_ _cleanup_(set_freep) |