ports/security/expiretable/files/patch-ioctl__helpers.h
Renato Botelho 712ed31c3e security/expiretable: Fix build on 13+
get_states() is the reason it stopped building on FreeBSD 13 and newer.
Retire this function since it's not used anywhere and get the build
fixed.

PR:		253547
Reported by:	mike@sentex.net
Reviewed by:	kp
Approved by:	maintainer timeout (2 weeks)
Obtained from:	pfSense
MFH:		2021Q2
Sponsored by:	Rubicon Communications, LLC ("Netgate")
2021-05-04 09:18:48 -03:00

9 lines
539 B
C

--- ioctl_helpers.h.orig 2021-04-19 18:12:20 UTC
+++ ioctl_helpers.h
@@ -31,6 +31,5 @@ int radix_get_tstats(int dev, struct pfr_tstats **tsta
int radix_get_tables(int dev, struct pfr_table **tables, const struct pfr_table *filter, int flags);
int radix_get_addrs(int dev, const struct pfr_table *table, struct pfr_addr **addrs, int flags);
int radix_del_addrs(int dev, const struct pfr_table *table, struct pfr_addr *addrs, int addr_count, int flags);
-int get_states(int dev, struct pf_state **states);
#endif /*_IOCTL_HELPERS_H_*/