diff options
author | Phil Sutter <phil@nwl.cc> | 2021-11-06 01:32:47 +0100 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2021-11-23 15:01:23 +0100 |
commit | 7213561d9d7a17c4db29c867b2607241941dae5a (patch) | |
tree | ff66e9e34353ab8c25ae67b111fdb22e6ace0d66 /iptables/xshared.c | |
parent | cf14b92bc1a3f5040437234dffe5cf6aa59711a5 (diff) |
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 <phil@nwl.cc>
Diffstat (limited to 'iptables/xshared.c')
-rw-r--r-- | iptables/xshared.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |