Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/common/lib/libc/atomic Include the C11 atomic builtin alias.
details: https://anonhg.NetBSD.org/src/rev/55e463bb4b28
branches: trunk
changeset: 343820:55e463bb4b28
user: joerg <joerg%NetBSD.org@localhost>
date: Sat Feb 27 19:20:01 2016 +0000
description:
Include the C11 atomic builtin alias.
diffstat:
common/lib/libc/atomic/atomic_add_32_nv_cas.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r a9a9de5e2739 -r 55e463bb4b28 common/lib/libc/atomic/atomic_add_32_nv_cas.c
--- a/common/lib/libc/atomic/atomic_add_32_nv_cas.c Sat Feb 27 19:19:33 2016 +0000
+++ b/common/lib/libc/atomic/atomic_add_32_nv_cas.c Sat Feb 27 19:20:01 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: atomic_add_32_nv_cas.c,v 1.6 2014/02/22 17:08:30 martin Exp $ */
+/* $NetBSD: atomic_add_32_nv_cas.c,v 1.7 2016/02/27 19:20:01 joerg Exp $ */
/*-
* Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -49,6 +49,7 @@
#undef atomic_add_32_nv
atomic_op_alias(atomic_add_32_nv,_atomic_add_32_nv)
crt_alias(__sync_add_and_fetch_4,_atomic_add_32_nv)
+crt_alias(__atomic_add_fetch_4,_atomic_add_32_nv)
#undef atomic_add_int_nv
atomic_op_alias(atomic_add_int_nv,_atomic_add_32_nv)
Home |
Main Index |
Thread Index |
Old Index