Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Nov 2021 01:54:21 GMT
From:      Kristof Provost <kp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: a00f531cc28b - stable/13 - pf: Remove duplicate declaration of pf_ioctl_maxcount.
Message-ID:  <202111220154.1AM1sLhS091173@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by kp:

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

commit a00f531cc28be227c1d86e4546c9fe2c14f75b1b
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2021-09-15 16:03:18 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
CommitDate: 2021-11-22 01:53:33 +0000

    pf: Remove duplicate declaration of pf_ioctl_maxcount.
    
    Fixes a -Wredundant-decls warning with GCC 9.
    
    Reviewed by:    kp
    Differential Revision:  https://reviews.freebsd.org/D31944
    
    (cherry picked from commit df005aa9b3d8d5bf78bff749b261e9ae5bea80a3)
---
 sys/netpfil/pf/pf_ioctl.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sys/netpfil/pf/pf_ioctl.c b/sys/netpfil/pf/pf_ioctl.c
index 7b68110b0f99..6fdce31ad308 100644
--- a/sys/netpfil/pf/pf_ioctl.c
+++ b/sys/netpfil/pf/pf_ioctl.c
@@ -274,8 +274,6 @@ pfsync_detach_ifnet_t *pfsync_detach_ifnet_ptr;
 /* pflog */
 pflog_packet_t			*pflog_packet_ptr = NULL;
 
-extern u_long	pf_ioctl_maxcount;
-
 #define	ERROUT_FUNCTION(target, x)					\
 	do {								\
 		error = (x);						\



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202111220154.1AM1sLhS091173>