summaryrefslogtreecommitdiffstats
path: root/contrib/libpcap/bpf_image.c
diff options
context:
space:
mode:
authorrpaulo <rpaulo@FreeBSD.org>2009-04-11 17:36:11 +0000
committerrpaulo <rpaulo@FreeBSD.org>2009-04-11 17:36:11 +0000
commitdc6531d9b1b6ce55370a4cee6183aa644690daf2 (patch)
tree2a0b01e82224813b931198b5a3a4c0e496d30369 /contrib/libpcap/bpf_image.c
parentdb35db3621c037ac015d13b564eec24582972f8e (diff)
downloadFreeBSD-src-dc6531d9b1b6ce55370a4cee6183aa644690daf2.zip
FreeBSD-src-dc6531d9b1b6ce55370a4cee6183aa644690daf2.tar.gz
Revert previous commit that commented out some bpf functions.
Unconstify arguments of bpf_image(), bpf_filter() and bpf_dump(). This is needed because some ports rely heavely on these arguments (some of them even roll out their own implemenentations of bpf_dump).
Diffstat (limited to 'contrib/libpcap/bpf_image.c')
-rw-r--r--contrib/libpcap/bpf_image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/libpcap/bpf_image.c b/contrib/libpcap/bpf_image.c
index 91f7cef..265cb7d 100644
--- a/contrib/libpcap/bpf_image.c
+++ b/contrib/libpcap/bpf_image.c
@@ -39,7 +39,7 @@ static const char rcsid[] _U_ =
char *
bpf_image(p, n)
- const struct bpf_insn *p;
+ struct bpf_insn *p;
int n;
{
int v;
OpenPOWER on IntegriCloud