summaryrefslogtreecommitdiffstats
path: root/sys/net/bpf.c
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>1999-12-03 09:59:02 +0000
committerjulian <julian@FreeBSD.org>1999-12-03 09:59:02 +0000
commitbee374df84346c2042ce2865307265293b8ffdcf (patch)
treee2bac40a75e9b97c4c2e3a023cbcc81d0e776b04 /sys/net/bpf.c
parent9f4998ac8dfa11267e563483509ccc072d02d356 (diff)
downloadFreeBSD-src-bee374df84346c2042ce2865307265293b8ffdcf.zip
FreeBSD-src-bee374df84346c2042ce2865307265293b8ffdcf.tar.gz
Make the stub routines have the same prototypes as the real bpf
routines.
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 82c6904..3ac4283 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;
OpenPOWER on IntegriCloud