Module Name: src
Committed By: christos
Date: Fri Nov 20 02:17:07 UTC 2009
Modified Files:
src/sys/sys: atomic.h
Log Message:
make atomics usable from c++!
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 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.11
--- src/sys/sys/atomic.h:1.10 Mon Apr 28 16:24:10 2008
+++ src/sys/sys/atomic.h Thu Nov 19 21:17:07 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: atomic.h,v 1.10 2008/04/28 20:24:10 martin Exp $ */
+/* $NetBSD: atomic.h,v 1.11 2009/11/20 02:17:07 christos 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_ */