Wed Apr 22 23:40:40 2020 UTC ()
Externalize variables owned logically by pf_ruleset.c


(joerg)
diff -r1.5 -r1.6 src/dist/pf/sbin/pfctl/pfctl.c

cvs diff -r1.5 -r1.6 src/dist/pf/sbin/pfctl/pfctl.c (expand / switch to context diff)
--- src/dist/pf/sbin/pfctl/pfctl.c 2008/06/18 09:06:26 1.5
+++ src/dist/pf/sbin/pfctl/pfctl.c 2020/04/22 23:40:40 1.6
@@ -1,4 +1,4 @@
-/*	$NetBSD: pfctl.c,v 1.5 2008/06/18 09:06:26 yamt Exp $	*/
+/*	$NetBSD: pfctl.c,v 1.6 2020/04/22 23:40:40 joerg Exp $	*/
 /*	$OpenBSD: pfctl.c,v 1.268 2007/06/30 18:25:08 henning Exp $ */
 
 /*
@@ -96,8 +96,8 @@
 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;
+extern struct pf_anchor_global	 pf_anchors;
+extern struct pf_anchor	 pf_main_anchor;
 
 const char	*clearopt;
 char		*rulesopt;