Signed-off-by: Pablo Neira Ayuso <[email protected]>
---
iptables/nft.c | 2 +-
iptables/nft.h | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/iptables/nft.c b/iptables/nft.c
index d78c431703ca..c5ddde5f0064 100644
--- a/iptables/nft.c
+++ b/iptables/nft.c
@@ -1542,7 +1542,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 4c207a433820..40da8064b742 100644
--- a/iptables/nft.h
+++ b/iptables/nft.h
@@ -69,7 +69,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.
--
2.11.0