From: Pablo Neira Ayuso Date: Sun, 19 May 2019 11:04:13 +0000 (+0200) Subject: nft: statify nft_rebuild_cache() X-Git-Tag: v1.8.3~13 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f316ad1aa6b0a17ca6961f44f95fc31d0159bc36;p=thirdparty%2Fiptables.git nft: statify nft_rebuild_cache() Signed-off-by: Pablo Neira Ayuso --- diff --git a/iptables/nft.c b/iptables/nft.c index 167237ab..6c6cd787 100644 --- a/iptables/nft.c +++ b/iptables/nft.c @@ -1540,7 +1540,7 @@ void nft_build_cache(struct nft_handle *h) __nft_build_cache(h); } -void nft_rebuild_cache(struct nft_handle *h) +static void nft_rebuild_cache(struct nft_handle *h) { if (!h->have_cache) flush_chain_cache(h, NULL); diff --git a/iptables/nft.h b/iptables/nft.h index 8292a292..c137c5c6 100644 --- a/iptables/nft.h +++ b/iptables/nft.h @@ -70,7 +70,6 @@ int mnl_talk(struct nft_handle *h, struct nlmsghdr *nlh, int nft_init(struct nft_handle *h, const struct builtin_table *t); void nft_fini(struct nft_handle *h); void nft_build_cache(struct nft_handle *h); -void nft_rebuild_cache(struct nft_handle *h); /* * Operations with tables.