The branch main has been updated by glebius:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=e3d6cf8c3f6c9203fbb60a16fde18cc751a80de1

commit e3d6cf8c3f6c9203fbb60a16fde18cc751a80de1
Author:     Gleb Smirnoff <[email protected]>
AuthorDate: 2025-12-21 19:49:59 +0000
Commit:     Gleb Smirnoff <[email protected]>
CommitDate: 2025-12-22 02:23:14 +0000

    pf: make eventhandler_tag's static
    
    No functional change.
---
 sys/netpfil/pf/pf_if.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/sys/netpfil/pf/pf_if.c b/sys/netpfil/pf/pf_if.c
index 6f41d453a7d1..2d85a553fb5a 100644
--- a/sys/netpfil/pf/pf_if.c
+++ b/sys/netpfil/pf/pf_if.c
@@ -74,12 +74,12 @@ VNET_DEFINE(size_t, pf_allkifcount);
 VNET_DEFINE(struct pfi_kkif *, pf_kifmarker);
 #endif
 
-eventhandler_tag        pfi_attach_cookie;
-eventhandler_tag        pfi_detach_cookie;
-eventhandler_tag        pfi_attach_group_cookie;
-eventhandler_tag        pfi_change_group_cookie;
-eventhandler_tag        pfi_detach_group_cookie;
-eventhandler_tag        pfi_ifaddr_event_cookie;
+static eventhandler_tag         pfi_attach_cookie;
+static eventhandler_tag         pfi_detach_cookie;
+static eventhandler_tag         pfi_attach_group_cookie;
+static eventhandler_tag         pfi_change_group_cookie;
+static eventhandler_tag         pfi_detach_group_cookie;
+static eventhandler_tag         pfi_ifaddr_event_cookie;
 
 static void     pfi_attach_ifnet(struct ifnet *, struct pfi_kkif *);
 static void     pfi_attach_ifgroup(struct ifg_group *, struct pfi_kkif *);

Reply via email to