path: root/include
diff options
authorPatrick McHardy <>2015-01-12 09:51:05 +0000
committerPatrick McHardy <>2015-01-12 09:51:05 +0000
commit67e392beb977b1929b4db5a406a3051389ea3158 (patch)
tree9fea8f46462049184576b02f4f21067763256bee /include
parent69a54250650b9566470e62f39296ecb2b5010f84 (diff)
set: remove unused set_clone() function
The set_clone() function was added by the event monitor patchset and is unused. It is also broken since it simply initializes the list head to the list of the original set, so remove it. Signed-off-by: Patrick McHardy <>
Diffstat (limited to 'include')
1 files changed, 0 insertions, 1 deletions
diff --git a/include/rule.h b/include/rule.h
index 0c523155..491411eb 100644
--- a/include/rule.h
+++ b/include/rule.h
@@ -203,7 +203,6 @@ struct set {
extern struct set *set_alloc(const struct location *loc);
extern struct set *set_get(struct set *set);
extern void set_free(struct set *set);
-extern struct set *set_clone(const struct set *set);
extern void set_add_hash(struct set *set, struct table *table);
extern struct set *set_lookup(const struct table *table, const char *name);
extern struct set *set_lookup_global(uint32_t family, const char *table,