chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
first try at implementing job creation
[elogind.git]
/
set.c
diff --git
a/set.c
b/set.c
index 21a1739b0338bc9b45370cc3592249c8c4664641..74137b775ffe50c97b9efd5c91c8516781045bca 100644
(file)
--- 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));
+}