Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net add {__BEGIN,__END}_DECLS
details: https://anonhg.NetBSD.org/src/rev/f93bca35c0c9
branches: trunk
changeset: 778061:f93bca35c0c9
user: christos <christos%NetBSD.org@localhost>
date: Thu Mar 15 00:57:56 2012 +0000
description:
add {__BEGIN,__END}_DECLS
diffstat:
sys/net/bpf.h | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (27 lines):
diff -r db1d891d7946 -r f93bca35c0c9 sys/net/bpf.h
--- a/sys/net/bpf.h Thu Mar 15 00:17:22 2012 +0000
+++ b/sys/net/bpf.h Thu Mar 15 00:57:56 2012 +0000
@@ -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 @@
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).
*/
Home |
Main Index |
Thread Index |
Old Index