Date: Mon, 17 Apr 2017 21:51:26 +0000 (UTC) From: Jung-uk Kim <jkim@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r317070 - in head/sys: amd64/amd64 i386/i386 net Message-ID: <201704172151.v3HLpQ2c029599@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jkim Date: Mon Apr 17 21:51:26 2017 New Revision: 317070 URL: https://svnweb.freebsd.org/changeset/base/317070 Log: Move declarations for a machine-dependent function to the header file. Modified: head/sys/amd64/amd64/bpf_jit_machdep.c head/sys/i386/i386/bpf_jit_machdep.c head/sys/net/bpf_jitter.h Modified: head/sys/amd64/amd64/bpf_jit_machdep.c ============================================================================== --- head/sys/amd64/amd64/bpf_jit_machdep.c Mon Apr 17 21:46:54 2017 (r317069) +++ head/sys/amd64/amd64/bpf_jit_machdep.c Mon Apr 17 21:51:26 2017 (r317070) @@ -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. */ Modified: head/sys/i386/i386/bpf_jit_machdep.c ============================================================================== --- head/sys/i386/i386/bpf_jit_machdep.c Mon Apr 17 21:46:54 2017 (r317069) +++ head/sys/i386/i386/bpf_jit_machdep.c Mon Apr 17 21:51:26 2017 (r317070) @@ -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. */ Modified: head/sys/net/bpf_jitter.h ============================================================================== --- head/sys/net/bpf_jitter.h Mon Apr 17 21:46:54 2017 (r317069) +++ head/sys/net/bpf_jitter.h Mon Apr 17 21:51:26 2017 (r317070) @@ -80,4 +80,11 @@ bpf_jit_filter *bpf_jitter(struct bpf_in */ 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_ */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704172151.v3HLpQ2c029599>