From 225af6c3e8ca2fc63f20761db87af801b83d26da Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Fri, 31 Aug 2018 19:53:01 -0700 Subject: Don't put bpf_filter_with_aux_data() in a public header file. Don't put struct bpf_aux_data there, either. bpf_filter_with_aux_data() is an internal-only routine, and struct bpf_aux_data is a data structure subject to change in the future; don't make them public, so that we *can* change it in the future without having to worry about breaking APIs or ABIs. (Note to any upstream packager of libpcap: if you've made it public, so that it's exported by a shared libary, that was a mistake, so undo it.) --- bpf_filter.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bpf_filter.c') diff --git a/bpf_filter.c b/bpf_filter.c index ebf118f4..93c33764 100644 --- a/bpf_filter.c +++ b/bpf_filter.c @@ -44,7 +44,6 @@ #include #include "pcap-types.h" -#include "varattrs.h" #include "extract.h" #define EXTRACT_SHORT EXTRACT_BE_U_2 @@ -56,7 +55,7 @@ #include #endif /* _WIN32 */ -#include +#include #include -- cgit v1.2.3