X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/b9ac23ce92ca22483d56ee3192c54aa8f782f9ac..e7cfa5e63a27e6fbb75e0bbd151af2c7d0d222e9:/bpf_dump.c diff --git a/bpf_dump.c b/bpf_dump.c index 511b14e3..7cfe49a9 100644 --- a/bpf_dump.c +++ b/bpf_dump.c @@ -18,27 +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.10 1999-11-21 09:36:44 fenner Exp $ (LBL)"; -#endif #ifdef HAVE_CONFIG_H -#include "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;