Module Name: src
Committed By: christos
Date: Thu Mar 15 00:57:56 UTC 2012
Modified Files:
src/sys/net: bpf.h
Log Message:
add {__BEGIN,__END}_DECLS
To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 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.59
--- src/sys/net/bpf.h:1.58 Tue Aug 30 10:22:22 2011
+++ src/sys/net/bpf.h Wed Mar 14 20:57:56 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: bpf.h,v 1.58 2011/08/30 14:22:22 bouyer Exp $ */
+/* $NetBSD: bpf.h,v 1.59 2012/03/15 00:57:56 christos 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).
*/