Move declarations for a machine-dependent function to the header file.

This commit is contained in:
Jung-uk Kim 2017-04-17 21:51:26 +00:00
parent 3a0e8b7373
commit e329e330d4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=317070
3 changed files with 7 additions and 4 deletions

View File

@ -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.
*/

View File

@ -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.
*/

View File

@ -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_ */