mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Move declarations for a machine-dependent function to the header file.
This commit is contained in:
parent
3a0e8b7373
commit
e329e330d4
3 changed files with 7 additions and 4 deletions
|
|
@ -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 a new issue