summaryrefslogtreecommitdiff
path: root/src/libudev/set.h
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2013-06-06 10:39:11 -0400
committerAnthony G. Basile <blueness@gentoo.org>2013-06-06 10:39:11 -0400
commitafe76217f98b2fcb6d6e80bd732ba221c9bf7ae4 (patch)
treec906a9c99044aab15255d58798a1c570848cfa9a /src/libudev/set.h
parent6f8f3edfe8dd70e24105d889f664ff033eb0555e (diff)
Round 4 of remove unused functions from src/libudev/{hashmap,log,set,util}.c
We removed the following functions: hashmap_merge path_is_read_only_fs set_free_free set_free_freep readlink_malloc hexchar unhexchar octchar unoctchar format_timespan Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/libudev/set.h')
-rw-r--r--src/libudev/set.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/libudev/set.h b/src/libudev/set.h
index 5dd381c9f3..3296b2b6bf 100644
--- a/src/libudev/set.h
+++ b/src/libudev/set.h
@@ -37,11 +37,6 @@ static inline void set_freep(Set **s) {
set_free(*s);
}
-void set_free_free(Set *s);
-static inline void set_free_freep(Set **s) {
- set_free_free(*s);
-}
-
int set_put(Set *s, void *value);
void *set_get(Set *s, void *value);
bool set_contains(Set *s, void *value);
@@ -56,4 +51,3 @@ void *set_iterate_backwards(Set *s, Iterator *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)