svn commit: r317070 - in head/sys: amd64/amd64 i386/i386 net
Jung-uk Kim
jkim at FreeBSD.org
Mon Apr 17 21:51:28 UTC 2017
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_ */
More information about the svn-src-all
mailing list