X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/b9ac23ce92ca22483d56ee3192c54aa8f782f9ac..c39d40a767a1ae36171e5bcbf6f157ff3e80fb6c:/bpf_dump.c diff --git a/bpf_dump.c b/bpf_dump.c index 511b14e3..1ac74a24 100644 --- a/bpf_dump.c +++ b/bpf_dump.c @@ -18,27 +18,20 @@ * 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 "netdissect.h" #include "interface.h" -extern void bpf_dump(struct bpf_program *, int); - void -bpf_dump(struct bpf_program *p, int option) +bpf_dump(const struct bpf_program *p, int option) { struct bpf_insn *insn; int i;