diff options
author | Guy Harris <guy@alum.mit.edu> | 2018-08-31 19:53:01 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2018-08-31 19:53:17 -0700 |
commit | 225af6c3e8ca2fc63f20761db87af801b83d26da (patch) | |
tree | cf3c43baaac4367522768432c9ade4b6900caa4d /bpf_filter.c | |
parent | a69f42f7873db778613bbd5c4238acc2d0c31c89 (diff) |
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.)
Diffstat (limited to 'bpf_filter.c')
-rw-r--r-- | bpf_filter.c | 3 |
1 files changed, 1 insertions, 2 deletions
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 <pcap/pcap-inttypes.h> #include "pcap-types.h" -#include "varattrs.h" #include "extract.h" #define EXTRACT_SHORT EXTRACT_BE_U_2 @@ -56,7 +55,7 @@ #include <sys/time.h> #endif /* _WIN32 */ -#include <pcap/bpf.h> +#include <pcap-int.h> #include <stdlib.h> |