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 Make sure to create the right aliases.



details:   https://anonhg.NetBSD.org/src/rev/9ef21298d20e
branches:  trunk
changeset: 777669:9ef21298d20e
user:      joerg <joerg%NetBSD.org@localhost>
date:      Tue Feb 28 20:41:19 2012 +0000

description:
Make sure to create the right aliases.

diffstat:

 common/lib/libc/atomic/atomic_init_testset.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 2cd973d9f7ce -r 9ef21298d20e common/lib/libc/atomic/atomic_init_testset.c
--- a/common/lib/libc/atomic/atomic_init_testset.c      Tue Feb 28 20:26:37 2012 +0000
+++ b/common/lib/libc/atomic/atomic_init_testset.c      Tue Feb 28 20:41:19 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: atomic_init_testset.c,v 1.7 2009/12/14 00:39:00 matt Exp $     */
+/*     $NetBSD: atomic_init_testset.c,v 1.8 2012/02/28 20:41:19 joerg Exp $    */
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: atomic_init_testset.c,v 1.7 2009/12/14 00:39:00 matt Exp $");
+__RCSID("$NetBSD: atomic_init_testset.c,v 1.8 2012/02/28 20:41:19 joerg Exp $");
 
 #include "atomic_op_namespace.h"
 
@@ -135,6 +135,10 @@
 #undef atomic_cas_uint
 #undef atomic_cas_ulong
 #undef atomic_cas_ptr
+#undef atomic_cas_32_ni
+#undef atomic_cas_uint_ni
+#undef atomic_cas_ulong_ni
+#undef atomic_cas_ptr_ni
 
 atomic_op_alias(atomic_cas_32,_atomic_cas_32)
 atomic_op_alias(atomic_cas_uint,_atomic_cas_32)



Home | Main Index | Thread Index | Old Index