Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/dist/pf/sbin/pfctl Externalize variables owned logically by ...



details:   https://anonhg.NetBSD.org/src/rev/083a6225b272
branches:  trunk
changeset: 971369:083a6225b272
user:      joerg <joerg%NetBSD.org@localhost>
date:      Wed Apr 22 23:40:40 2020 +0000

description:
Externalize variables owned logically by pf_ruleset.c

diffstat:

 dist/pf/sbin/pfctl/pfctl.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 68ba4e768226 -r 083a6225b272 dist/pf/sbin/pfctl/pfctl.c
--- a/dist/pf/sbin/pfctl/pfctl.c        Wed Apr 22 23:36:26 2020 +0000
+++ b/dist/pf/sbin/pfctl/pfctl.c        Wed Apr 22 23:40:40 2020 +0000
@@ -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;



Home | Main Index | Thread Index | Old Index