summaryrefslogtreecommitdiff
path: root/set.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-01-19 04:15:20 +0100
committerLennart Poettering <lennart@poettering.net>2010-01-19 04:15:20 +0100
commit11dd41ce4b465f6260ce68aa050a488f88f694eb (patch)
tree32cf857bcd71798adc6184dd24fe358ae0048188 /set.c
parent42f4e3c4413ad35e3815f25211fee95d775488a7 (diff)
first try at implementing job creation
Diffstat (limited to 'set.c')
-rw-r--r--set.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/set.c b/set.c
index 21a1739b03..74137b775f 100644
--- a/set.c
+++ b/set.c
@@ -69,3 +69,7 @@ int set_merge(Set *s, Set *other) {
Set* set_copy(Set *s) {
return MAKE_SET(hashmap_copy(MAKE_HASHMAP(s)));
}
+
+void set_clear(Set *s) {
+ hashmap_clear(MAKE_HASHMAP(s));
+}