]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
nft: statify nft_rebuild_cache()
authorPablo Neira Ayuso <pablo@netfilter.org>
Sun, 19 May 2019 11:04:13 +0000 (13:04 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sun, 19 May 2019 16:56:24 +0000 (18:56 +0200)
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
iptables/nft.c
iptables/nft.h

index 167237ab45b1b8faa3982e484f14c801b0b5efc7..6c6cd787c06f18f30ea47e0d91a737aee4d23f86 100644 (file)
@@ -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);
index 8292a2922d6a73a8fa6f99c23acc4d092b255d73..c137c5c6708d0592e616dad874509bc826556142 100644 (file)
@@ -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.