summaryrefslogtreecommitdiffstats
path: root/contrib/libpcap/bpf_dump.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_dump.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_dump.c')
-rw-r--r--contrib/libpcap/bpf_dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/libpcap/bpf_dump.c b/contrib/libpcap/bpf_dump.c
index 5c0033d..630fa5c 100644
--- a/contrib/libpcap/bpf_dump.c
+++ b/contrib/libpcap/bpf_dump.c
@@ -31,7 +31,7 @@ static const char rcsid[] _U_ =
#include <stdio.h>
void
-bpf_dump(const struct bpf_program *p, int option)
+bpf_dump(struct bpf_program *p, int option)
{
const struct bpf_insn *insn;
int i;
OpenPOWER on IntegriCloud