Revert the previous commit to fix buildworld for now.

We have constified 'struct bpf_insn *' for bpf_filter(9) and bpf_validate(9)
since r1.19 but they conflict with pcap.h from libpcap.
This commit is contained in:
Jung-uk Kim 2008-08-26 16:12:49 +00:00
parent 4816ba93ac
commit 18b6f05552

View File

@ -849,6 +849,7 @@ void bpfattach2(struct ifnet *, u_int, u_int, struct bpf_if **);
void bpfdetach(struct ifnet *);
void bpfilterattach(int);
u_int bpf_filter(const struct bpf_insn *, u_char *, u_int, u_int);
static __inline int
bpf_peers_present(struct bpf_if *bpf)
@ -877,8 +878,6 @@ bpf_peers_present(struct bpf_if *bpf)
} while (0)
#endif
u_int bpf_filter(const struct bpf_insn *, u_char *, u_int, u_int);
/*
* Number of scratch memory words (for BPF_LD|BPF_MEM and BPF_ST).
*/