The branch main has been updated by jhb:

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

commit df005aa9b3d8d5bf78bff749b261e9ae5bea80a3
Author:     John Baldwin <[email protected]>
AuthorDate: 2021-09-15 16:03:18 +0000
Commit:     John Baldwin <[email protected]>
CommitDate: 2021-09-15 16:03:18 +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
---
 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 6d240326361e..e7e37d5a6d5a 100644
--- a/sys/netpfil/pf/pf_ioctl.c
+++ b/sys/netpfil/pf/pf_ioctl.c
@@ -273,8 +273,6 @@ pfsync_detach_ifnet_t *pfsync_detach_ifnet_ptr;
 /* pflog */
 pflog_packet_t                 *pflog_packet_ptr = NULL;
 
-extern u_long  pf_ioctl_maxcount;
-
 /*
  * Copy a user-provided string, returning an error if truncation would occur.
  * Avoid scanning past "sz" bytes in the source string since there's no
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to