summaryrefslogtreecommitdiff
path: root/security/expiretable/files/patch-ioctl__helpers.h
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2021-05-04 09:10:43 -0300
committerRenato Botelho <garga@FreeBSD.org>2021-05-04 09:18:48 -0300
commit712ed31c3e42950d96d5995007d7a7b361cd3d83 (patch)
treee9ccfb3ef29147e3e7c9e253bed93bb74d252f90 /security/expiretable/files/patch-ioctl__helpers.h
parentmultimedia/gmmlib: update to 21.1.3 (diff)
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")
Diffstat (limited to 'security/expiretable/files/patch-ioctl__helpers.h')
-rw-r--r--security/expiretable/files/patch-ioctl__helpers.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/security/expiretable/files/patch-ioctl__helpers.h b/security/expiretable/files/patch-ioctl__helpers.h
new file mode 100644
index 000000000000..1179a82ec9c0
--- /dev/null
+++ b/security/expiretable/files/patch-ioctl__helpers.h
@@ -0,0 +1,9 @@
+--- 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_*/