X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/f555c163f90c9de17ebcef8313f86404c5174ca9..c39d40a767a1ae36171e5bcbf6f157ff3e80fb6c:/bpf_dump.c diff --git a/bpf_dump.c b/bpf_dump.c index fb77942a..1ac74a24 100644 --- a/bpf_dump.c +++ b/bpf_dump.c @@ -18,23 +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.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 "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;