From 2abd049177fa42993e4b1de588e92282a200ee43 Mon Sep 17 00:00:00 2001 From: "Pablo M. Bermudo Garay" Date: Sun, 21 Aug 2016 20:10:25 +0200 Subject: xtables-compat: remove useless functions The static function nft_rule_list_get was exposed outside nft.c through the nft_rule_list_create function, but this was never used out there. A similar situation occurs with nftnl_rule_list_free and nft_rule_list_destroy. This patch removes nft_rule_list_create and nft_rule_list_destroy for the sake of simplicity. Signed-off-by: Pablo M. Bermudo Garay Signed-off-by: Pablo Neira Ayuso --- iptables/nft.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'iptables/nft.h') diff --git a/iptables/nft.h b/iptables/nft.h index 52f21363..bcabf42b 100644 --- a/iptables/nft.h +++ b/iptables/nft.h @@ -92,9 +92,6 @@ int nft_rule_save(struct nft_handle *h, const char *table, bool counters); int nft_rule_flush(struct nft_handle *h, const char *chain, const char *table); int nft_rule_zero_counters(struct nft_handle *h, const char *chain, const char *table, int rulenum); -struct nftnl_rule_list *nft_rule_list_create(struct nft_handle *h); -void nft_rule_list_destroy(struct nftnl_rule_list *list); - /* * Operations used in userspace tools */ -- cgit v1.2.3