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 One more typo; this is called _atomic...



details:   https://anonhg.NetBSD.org/src/rev/1b62d5778ab2
branches:  trunk
changeset: 366495:1b62d5778ab2
user:      rin <rin%NetBSD.org@localhost>
date:      Sun May 29 08:11:15 2022 +0000

description:
One more typo; this is called _atomic_swap_64, not _8.

diffstat:

 common/lib/libc/atomic/atomic_swap_64_cas.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 1fdd2e69a850 -r 1b62d5778ab2 common/lib/libc/atomic/atomic_swap_64_cas.c
--- a/common/lib/libc/atomic/atomic_swap_64_cas.c       Sun May 29 08:09:59 2022 +0000
+++ b/common/lib/libc/atomic/atomic_swap_64_cas.c       Sun May 29 08:11:15 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: atomic_swap_64_cas.c,v 1.9 2014/06/28 20:18:55 joerg Exp $     */
+/*     $NetBSD: atomic_swap_64_cas.c,v 1.10 2022/05/29 08:11:15 rin Exp $      */
 
 /*-
  * Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -47,7 +47,7 @@
        return (old);
 }
 
-crt_alias(__atomic_exchange_8,_atomic_swap_8)
+crt_alias(__atomic_exchange_8,_atomic_swap_64)
 
 #undef atomic_swap_64
 atomic_op_alias(atomic_swap_64,_atomic_swap_64)



Home | Main Index | Thread Index | Old Index