diff options
-rw-r--r-- | iptables/nft.c | 2 | ||||
-rw-r--r-- | iptables/nft.h | 1 |
2 files changed, 1 insertions, 2 deletions
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. |