]> The Tcpdump Group git mirrors - tcpdump/blobdiff - bpf_dump.c
Revert partially the commit 21b1273
[tcpdump] / bpf_dump.c
index ea16e31b91aedb9564b75e772397aaba98903620..7cfe49a9efa2d8ce0737a072f3d7ae9868f87d2a 100644 (file)
  * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/bpf_dump.c,v 1.16 2003-11-16 09:36:08 guy Exp $ (LBL)";
-#endif
 
 #ifdef HAVE_CONFIG_H
-#include "config.h"
+#include <config.h>
 #endif
 
-#include <tcpdump-stdinc.h>
+#include "netdissect-stdinc.h"
 
-#include <pcap.h>
 #include <stdio.h>
 
-#include "interface.h"
+#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;