Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Dec 2025 02:23:47 +0000
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: e3d6cf8c3f6c - main - pf: make eventhandler_tag's static
Message-ID:  <6948abb3.37b9f.1a86b49e@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by glebius:

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

commit e3d6cf8c3f6c9203fbb60a16fde18cc751a80de1
Author:     Gleb Smirnoff <glebius@FreeBSD.org>
AuthorDate: 2025-12-21 19:49:59 +0000
Commit:     Gleb Smirnoff <glebius@FreeBSD.org>
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 *);


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6948abb3.37b9f.1a86b49e>