From 8758e5577c4e40b0f3c7f32da28d385f6278a523 Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Wed, 15 Mar 2023 08:33:39 +0100 Subject: iptables-nft: remove unused function argument Not used, all callers pass NULL. Signed-off-by: Florian Westphal --- iptables/nft-cmd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'iptables/nft-cmd.h') diff --git a/iptables/nft-cmd.h b/iptables/nft-cmd.h index c0f84636..ae5908d8 100644 --- a/iptables/nft-cmd.h +++ b/iptables/nft-cmd.h @@ -37,7 +37,7 @@ void nft_cmd_free(struct nft_cmd *cmd); int nft_cmd_rule_append(struct nft_handle *h, const char *chain, const char *table, struct iptables_command_state *state, - void *ref, bool verbose); + bool verbose); int nft_cmd_rule_insert(struct nft_handle *h, const char *chain, const char *table, struct iptables_command_state *state, int rulenum, bool verbose); -- cgit v1.2.3