diff options
author | Phil Sutter <phil@nwl.cc> | 2023-11-22 04:09:33 +0100 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2023-11-23 17:59:42 +0100 |
commit | 466c4031680eb5ea81d9313f91efb06aaa63a4a9 (patch) | |
tree | 76bf5be6b9ec384f0a26b73f56c4eadaaad00e5c | |
parent | 3f3b7d1aa22bb026292bcf829836138a543d422a (diff) |
ebtables: Make ebt_load_match_extensions() static
The function is not used outside of xtables-eb.c.
Signed-off-by: Phil Sutter <phil@nwl.cc>
-rw-r--r-- | iptables/nft-bridge.h | 1 | ||||
-rw-r--r-- | iptables/xtables-eb.c | 2 |
2 files changed, 1 insertions, 2 deletions
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"); |