Module Name: src Committed By: riz Date: Tue Jun 12 18:25:10 UTC 2012
Modified Files: src/sys/net [netbsd-6]: bpf.h Log Message: Pull up following revision(s) (requested by abs in ticket #312): sys/net/bpf.h: revision 1.59 add {__BEGIN,__END}_DECLS To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.58.8.1 src/sys/net/bpf.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/net/bpf.h diff -u src/sys/net/bpf.h:1.58 src/sys/net/bpf.h:1.58.8.1 --- src/sys/net/bpf.h:1.58 Tue Aug 30 14:22:22 2011 +++ src/sys/net/bpf.h Tue Jun 12 18:25:10 2012 @@ -1,4 +1,4 @@ -/* $NetBSD: bpf.h,v 1.58 2011/08/30 14:22:22 bouyer Exp $ */ +/* $NetBSD: bpf.h,v 1.58.8.1 2012/06/12 18:25:10 riz Exp $ */ /* * Copyright (c) 1990, 1991, 1993 @@ -45,6 +45,8 @@ /* BSD style release date */ #define BPF_RELEASE 199606 +__BEGIN_DECLS + typedef int bpf_int32; typedef u_int bpf_u_int32; @@ -381,6 +383,8 @@ void bpfilterattach(int); int bpf_validate(const struct bpf_insn *, int); u_int bpf_filter(const struct bpf_insn *, const u_char *, u_int, u_int); +__END_DECLS + /* * Number of scratch memory words (for BPF_LD|BPF_MEM and BPF_ST). */