diff options
Diffstat (limited to 'src/shared/set.h')
-rw-r--r-- | src/shared/set.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/set.h b/src/shared/set.h index a291470c19..5612478d4e 100644 --- a/src/shared/set.h +++ b/src/shared/set.h @@ -73,7 +73,7 @@ char **set_get_strv(Set *s); #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_TRIVIAL_CLEANUP_FUNC(Set*, set_free); +DEFINE_TRIVIAL_CLEANUP_FUNC(Set*, set_free_free); #define _cleanup_set_free_ _cleanup_(set_freep) #define _cleanup_set_free_free_ _cleanup_(set_free_freep) |