]> git.ipfire.org Git - thirdparty/iptables.git/commit
xtables-compat: remove useless functions
authorPablo M. Bermudo Garay <pablombg@gmail.com>
Sun, 21 Aug 2016 18:10:25 +0000 (20:10 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 22 Aug 2016 09:50:57 +0000 (11:50 +0200)
commit2abd049177fa42993e4b1de588e92282a200ee43
tree8005fd7cef18d101ade0f737dd2ffb109c804df6
parent55f4d72776ab9a07fdc2ee07ccaada33df98c1a0
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 <pablombg@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
iptables/nft.c
iptables/nft.h