summaryrefslogtreecommitdiffstats
path: root/iptables/nft.h
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2023-03-14 22:44:53 +0100
committerFlorian Westphal <fw@strlen.de>2023-03-14 22:52:45 +0100
commitad84e8870ef27bfc662edc0caedd74dac82e1c9d (patch)
tree51ac11a028785579d0415e97b9a164d050dd5e0a /iptables/nft.h
parente900d40afdb731d2270a5110833ae49192974355 (diff)
iptables-nft: make builtin tables static
Only used in nft.c. Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'iptables/nft.h')
-rw-r--r--iptables/nft.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/iptables/nft.h b/iptables/nft.h
index caff1fde..56005863 100644
--- a/iptables/nft.h
+++ b/iptables/nft.h
@@ -117,10 +117,6 @@ struct nft_handle {
} error;
};
-extern const struct builtin_table xtables_ipv4[NFT_TABLE_MAX];
-extern const struct builtin_table xtables_arp[NFT_TABLE_MAX];
-extern const struct builtin_table xtables_bridge[NFT_TABLE_MAX];
-
int mnl_talk(struct nft_handle *h, struct nlmsghdr *nlh,
int (*cb)(const struct nlmsghdr *nlh, void *data),
void *data);