summaryrefslogtreecommitdiff
path: root/src/shared/set.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/set.h')
-rw-r--r--src/shared/set.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shared/set.h b/src/shared/set.h
index 38c4b58a8..8864f7b34 100644
--- a/src/shared/set.h
+++ b/src/shared/set.h
@@ -77,3 +77,6 @@ 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 _cleanup_set_free_ _cleanup_(set_freep)
+#define _cleanup_set_free_free_ _cleanup_(set_free_freep)