git: df005aa9b3d8 - main - pf: Remove duplicate declaration of pf_ioctl_maxcount.
John Baldwin
jhb at FreeBSD.org
Wed Sep 15 16:05:32 UTC 2021
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=df005aa9b3d8d5bf78bff749b261e9ae5bea80a3
commit df005aa9b3d8d5bf78bff749b261e9ae5bea80a3
Author: John Baldwin <jhb at FreeBSD.org>
AuthorDate: 2021-09-15 16:03:18 +0000
Commit: John Baldwin <jhb at FreeBSD.org>
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
More information about the dev-commits-src-all
mailing list