aboutsummaryrefslogtreecommitdiff
path: root/sys/net/bpf.c
diff options
context:
space:
mode:
authorJulian Elischer <julian@FreeBSD.org>1999-12-03 09:59:02 +0000
committerJulian Elischer <julian@FreeBSD.org>1999-12-03 09:59:02 +0000
commit1f8ffa4bca1d72234376ea6a37292413c635dc0f (patch)
treefa5c952a6e922dbf70604d9c06e39625a3f0a5d2 /sys/net/bpf.c
parent9efed284d5045d969401a70fb436a584200b0772 (diff)
downloadsrc-1f8ffa4bca1d72234376ea6a37292413c635dc0f.tar.gz
src-1f8ffa4bca1d72234376ea6a37292413c635dc0f.zip
Make the stub routines have the same prototypes as the real bpf
routines.
Notes
Notes: svn path=/head/; revision=54075
Diffstat (limited to 'sys/net/bpf.c')
-rw-r--r--sys/net/bpf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/bpf.c b/sys/net/bpf.c
index 82c6904f35d7..3ac42830f135 100644
--- a/sys/net/bpf.c
+++ b/sys/net/bpf.c
@@ -1309,7 +1309,7 @@ bpfattach(ifp, dlt, hdrlen)
u_int
bpf_filter(pc, p, wirelen, buflen)
- register struct bpf_insn *pc;
+ register const struct bpf_insn *pc;
register u_char *p;
u_int wirelen;
register u_int buflen;