From 7a37d1407e4446e7e84ec038bf4d2d3dac9f2138 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Tue, 24 Apr 2018 16:42:42 +0200 Subject: iptables-compat: statify nft_restart() This function is only used from iptables/nft.c. Signed-off-by: Pablo Neira Ayuso --- iptables/nft.c | 2 +- iptables/nft.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'iptables') diff --git a/iptables/nft.c b/iptables/nft.c index ffc9e95e..2610de44 100644 --- a/iptables/nft.c +++ b/iptables/nft.c @@ -762,7 +762,7 @@ err: return ret; } -int nft_restart(struct nft_handle *h) +static int nft_restart(struct nft_handle *h) { mnl_socket_close(h->nl); diff --git a/iptables/nft.h b/iptables/nft.h index e7225581..310cedec 100644 --- a/iptables/nft.h +++ b/iptables/nft.h @@ -49,7 +49,6 @@ int mnl_talk(struct nft_handle *h, struct nlmsghdr *nlh, void *data); int nft_init(struct nft_handle *h, struct builtin_table *t); void nft_fini(struct nft_handle *h); -int nft_restart(struct nft_handle *h); /* * Operations with tables. -- cgit v1.2.3