Move declarations for a machine-dependent function to the header file.
This commit is contained in:
parent
3a0e8b7373
commit
e329e330d4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=317070
@ -55,8 +55,6 @@ __FBSDID("$FreeBSD$");
|
||||
|
||||
#include <amd64/amd64/bpf_jit_machdep.h>
|
||||
|
||||
bpf_filter_func bpf_jit_compile(struct bpf_insn *, u_int, size_t *);
|
||||
|
||||
/*
|
||||
* Emit routine to update the jump table.
|
||||
*/
|
||||
|
@ -55,8 +55,6 @@ __FBSDID("$FreeBSD$");
|
||||
|
||||
#include <i386/i386/bpf_jit_machdep.h>
|
||||
|
||||
bpf_filter_func bpf_jit_compile(struct bpf_insn *, u_int, size_t *);
|
||||
|
||||
/*
|
||||
* Emit routine to update the jump table.
|
||||
*/
|
||||
|
@ -80,4 +80,11 @@ bpf_jit_filter *bpf_jitter(struct bpf_insn *fp, int nins);
|
||||
*/
|
||||
void bpf_destroy_jit_filter(bpf_jit_filter *filter);
|
||||
|
||||
/*
|
||||
* Declarations for machine-dependent functions.
|
||||
*/
|
||||
struct bpf_insn;
|
||||
|
||||
bpf_filter_func bpf_jit_compile(struct bpf_insn *, u_int, size_t *);
|
||||
|
||||
#endif /* _NET_BPF_JITTER_H_ */
|
||||
|
Loading…
Reference in New Issue
Block a user