]> The Tcpdump Group git mirrors - tcpdump/blobdiff - bpf_dump.c
Fix spaces
[tcpdump] / bpf_dump.c
index fb77942a2ff10ea6af25a8a25371caa8aaef6d30..7cfe49a9efa2d8ce0737a072f3d7ae9868f87d2a 100644 (file)
  * 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 <config.h>
 #endif
 
-#include <sys/types.h>
-#include <sys/time.h>
+#include "netdissect-stdinc.h"
 
-#include <pcap.h>
 #include <stdio.h>
 
-#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;