Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys make atomics usable from c++!
details: https://anonhg.NetBSD.org/src/rev/255ea610eaff
branches: trunk
changeset: 749166:255ea610eaff
user: christos <christos%NetBSD.org@localhost>
date: Fri Nov 20 02:17:07 2009 +0000
description:
make atomics usable from c++!
diffstat:
sys/sys/atomic.h | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r ce4bc05eb69f -r 255ea610eaff sys/sys/atomic.h
--- a/sys/sys/atomic.h Fri Nov 20 02:14:56 2009 +0000
+++ b/sys/sys/atomic.h Fri Nov 20 02:17:07 2009 +0000
@@ -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_ */
Home |
Main Index |
Thread Index |
Old Index