From 7213561d9d7a17c4db29c867b2607241941dae5a Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Sat, 6 Nov 2021 01:32:47 +0100 Subject: xshared: Make load_proto() static The last outside users vanished ten years ago. Fixes: 449cdd6bcc8d1 ("src: combine default_command functions") Signed-off-by: Phil Sutter --- iptables/xshared.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'iptables/xshared.c') diff --git a/iptables/xshared.c b/iptables/xshared.c index 37ea7106..a1ca2b0f 100644 --- a/iptables/xshared.c +++ b/iptables/xshared.c @@ -107,7 +107,7 @@ static bool should_load_proto(struct iptables_command_state *cs) return !cs->proto_used; } -struct xtables_match *load_proto(struct iptables_command_state *cs) +static struct xtables_match *load_proto(struct iptables_command_state *cs) { if (!should_load_proto(cs)) return NULL; -- cgit v1.2.3