Module Name:    src
Committed By:   christos
Date:           Sun Dec  5 05:20:29 UTC 2010

Modified Files:
        src/dist/libpcap: pcap.h

Log Message:
Adjust to the new libpcap prototypes for compatibility.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/dist/libpcap/pcap.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/dist/libpcap/pcap.h
diff -u src/dist/libpcap/pcap.h:1.3 src/dist/libpcap/pcap.h:1.4
--- src/dist/libpcap/pcap.h:1.3	Mon Feb 27 10:57:17 2006
+++ src/dist/libpcap/pcap.h	Sun Dec  5 00:20:28 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: pcap.h,v 1.3 2006/02/27 15:57:17 drochner Exp $ */
+/* $NetBSD: pcap.h,v 1.4 2010/12/05 05:20:28 christos Exp $ */
 
 /* -*- Mode: c; tab-width: 8; indent-tabs-mode: 1; c-basic-offset: 8; -*- */
 /*
@@ -33,7 +33,7 @@
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
- * @(#) $Header: /cvsroot/src/dist/libpcap/pcap.h,v 1.3 2006/02/27 15:57:17 drochner Exp $ (LBL)
+ * @(#) $Header: /cvsroot/src/dist/libpcap/pcap.h,v 1.4 2010/12/05 05:20:28 christos Exp $ (LBL)
  */
 
 #ifndef lib_pcap_h
@@ -269,7 +269,7 @@
 /* XXX this guy lives in the bpf tree */
 u_int	bpf_filter(struct bpf_insn *, u_char *, u_int, u_int);
 #endif
-int	bpf_validate(struct bpf_insn *f, int len);
+int	bpf_validate(const struct bpf_insn *f, int len);
 char	*bpf_image(struct bpf_insn *, int);
 void	bpf_dump(struct bpf_program *, int);
 

Reply via email to