Module Name: src
Committed By: snj
Date: Tue Mar 2 06:21:12 UTC 2010
Modified Files:
src/sys/sys [netbsd-5]: atomic.h
Log Message:
Pull up following revision(s) (requested by dholland in ticket #1314):
sys/sys/atomic.h: revision 1.11
make atomics usable from c++!
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.10.10.1 src/sys/sys/atomic.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/sys/atomic.h
diff -u src/sys/sys/atomic.h:1.10 src/sys/sys/atomic.h:1.10.10.1
--- src/sys/sys/atomic.h:1.10 Mon Apr 28 20:24:10 2008
+++ src/sys/sys/atomic.h Tue Mar 2 06:21:12 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: atomic.h,v 1.10 2008/04/28 20:24:10 martin Exp $ */
+/* $NetBSD: atomic.h,v 1.10.10.1 2010/03/02 06:21:12 snj Exp $ */
/*-
* Copyright (c) 2007, 2008 The NetBSD Foundation, Inc.
@@ -37,6 +37,7 @@
#include <stdint.h>
#endif
+__BEGIN_DECLS
/*
* Atomic ADD
*/
@@ -148,4 +149,6 @@
void membar_consumer(void);
void membar_sync(void);
+__END_DECLS
+
#endif /* ! _SYS_ATOMIC_H_ */