From: Sascha Wildner Date: Sun, 28 Jun 2020 09:23:14 +0000 (+0200) Subject: pfctl(8): Fix building with -fno-common. X-Git-Tag: v6.0.0rc1~954 X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/1a1c55fc5028068e0a87ab326036d8523763a619?ds=sidebyside pfctl(8): Fix building with -fno-common. -fno-common will be default in future compilers (GCC 10, for example). --- diff --git a/usr.sbin/pfctl/pfctl.c b/usr.sbin/pfctl/pfctl.c index 5e5b6f2890..5fce9bda52 100644 --- a/usr.sbin/pfctl/pfctl.c +++ b/usr.sbin/pfctl/pfctl.c @@ -99,9 +99,6 @@ int pfctl_load_ruleset(struct pfctl *, char *, int pfctl_load_rule(struct pfctl *, char *, struct pf_rule *, int); const char *pfctl_lookup_option(char *, const char **); -struct pf_anchor_global pf_anchors; -struct pf_anchor pf_main_anchor; - const char *clearopt; char *rulesopt; const char *showopt;