diff options
author | rpaulo <rpaulo@FreeBSD.org> | 2009-04-11 17:36:11 +0000 |
---|---|---|
committer | rpaulo <rpaulo@FreeBSD.org> | 2009-04-11 17:36:11 +0000 |
commit | dc6531d9b1b6ce55370a4cee6183aa644690daf2 (patch) | |
tree | 2a0b01e82224813b931198b5a3a4c0e496d30369 /contrib/libpcap/pcap/bpf.h | |
parent | db35db3621c037ac015d13b564eec24582972f8e (diff) | |
download | FreeBSD-src-dc6531d9b1b6ce55370a4cee6183aa644690daf2.zip FreeBSD-src-dc6531d9b1b6ce55370a4cee6183aa644690daf2.tar.gz |
Revert previous commit that commented out some bpf functions.
Unconstify arguments of bpf_image(), bpf_filter() and bpf_dump(). This
is needed because some ports rely heavely on these arguments (some of
them even roll out their own implemenentations of bpf_dump).
Diffstat (limited to 'contrib/libpcap/pcap/bpf.h')
-rw-r--r-- | contrib/libpcap/pcap/bpf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/libpcap/pcap/bpf.h b/contrib/libpcap/pcap/bpf.h index 9f4ca33..c9b30ed 100644 --- a/contrib/libpcap/pcap/bpf.h +++ b/contrib/libpcap/pcap/bpf.h @@ -916,7 +916,7 @@ struct bpf_insn { #if __STDC__ || defined(__cplusplus) extern int bpf_validate(const struct bpf_insn *, int); -extern u_int bpf_filter(const struct bpf_insn *, const u_char *, u_int, u_int); +extern u_int bpf_filter(struct bpf_insn *, u_char *, u_int, u_int); #else extern int bpf_validate(); extern u_int bpf_filter(); |