]> The Tcpdump Group git mirrors - tcpdump/blobdiff - bpf_dump.c
Use more the EXTRACT_U_1() macro (40/n)
[tcpdump] / bpf_dump.c
index bec00797a34c9d0366643cb60a77bc945eac318a..9bad38d387e00ae8321b93caff8b1170437eaf82 100644 (file)
 #include "config.h"
 #endif
 
-#include <tcpdump-stdinc.h>
+#include <netdissect-stdinc.h>
 
-#include <pcap.h>
 #include <stdio.h>
 
-#include "interface.h"
+#include "netdissect.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/bpf_dump.c,v 1.15 2003-11-15 00:39:12 guy Exp $ (LBL)";
-#endif
 void
-bpf_dump(struct bpf_program *p, int option)
+bpf_dump(const struct bpf_program *p, int option)
 {
        struct bpf_insn *insn;
        int i;