From: Phil Sutter Date: Wed, 22 Nov 2023 03:09:33 +0000 (+0100) Subject: ebtables: Make ebt_load_match_extensions() static X-Git-Tag: v1.8.11~160 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=466c4031680eb5ea81d9313f91efb06aaa63a4a9;p=thirdparty%2Fiptables.git ebtables: Make ebt_load_match_extensions() static The function is not used outside of xtables-eb.c. Signed-off-by: Phil Sutter --- diff --git a/iptables/nft-bridge.h b/iptables/nft-bridge.h index eb1b3928..0e6a2965 100644 --- a/iptables/nft-bridge.h +++ b/iptables/nft-bridge.h @@ -115,7 +115,6 @@ static inline const char *ebt_target_name(unsigned int verdict) }) \ void ebt_cs_clean(struct iptables_command_state *cs); -void ebt_load_match_extensions(void); void ebt_add_match(struct xtables_match *m, struct iptables_command_state *cs); void ebt_add_watcher(struct xtables_target *watcher, diff --git a/iptables/xtables-eb.c b/iptables/xtables-eb.c index 3fa5c179..cd45e049 100644 --- a/iptables/xtables-eb.c +++ b/iptables/xtables-eb.c @@ -504,7 +504,7 @@ static void ebt_load_watcher(const char *name) xtables_error(OTHER_PROBLEM, "Can't alloc memory"); } -void ebt_load_match_extensions(void) +static void ebt_load_match_extensions(void) { opts = ebt_original_options; ebt_load_match("802_3");