X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/f555c163f90c9de17ebcef8313f86404c5174ca9..refs/heads/mcr-macro-update-1:/bpf_dump.c diff --git a/bpf_dump.c b/bpf_dump.c index fb77942a..7cfe49a9 100644 --- a/bpf_dump.c +++ b/bpf_dump.c @@ -18,23 +18,19 @@ * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#ifndef lint -static const char rcsid[] = - "@(#) $Header: /tcpdump/master/tcpdump/bpf_dump.c,v 1.9 1999-10-07 23:47:09 mcr Exp $ (LBL)"; + +#ifdef HAVE_CONFIG_H +#include #endif -#include -#include +#include "netdissect-stdinc.h" -#include #include -#include "interface.h" - -extern void bpf_dump(struct bpf_program *, int); +#include "netdissect.h" void -bpf_dump(struct bpf_program *p, int option) +bpf_dump(const struct bpf_program *p, int option) { struct bpf_insn *insn; int i;