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 Fix copy&pasto



details:   https://anonhg.NetBSD.org/src/rev/327311163700
branches:  trunk
changeset: 326443:327311163700
user:      martin <martin%NetBSD.org@localhost>
date:      Wed Jan 29 14:44:32 2014 +0000

description:
Fix copy&pasto

diffstat:

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

diffs (30 lines):

diff -r 57767d96e610 -r 327311163700 common/lib/libc/atomic/atomic_init_testset.c
--- a/common/lib/libc/atomic/atomic_init_testset.c      Wed Jan 29 14:21:41 2014 +0000
+++ b/common/lib/libc/atomic/atomic_init_testset.c      Wed Jan 29 14:44:32 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: atomic_init_testset.c,v 1.10 2014/01/27 18:03:44 matt Exp $    */
+/*     $NetBSD: atomic_init_testset.c,v 1.11 2014/01/29 14:44:32 martin Exp $  */
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: atomic_init_testset.c,v 1.10 2014/01/27 18:03:44 matt Exp $");
+__RCSID("$NetBSD: atomic_init_testset.c,v 1.11 2014/01/29 14:44:32 martin Exp $");
 
 #include "atomic_op_namespace.h"
 
@@ -119,9 +119,9 @@
 }
 #endif
 
-#ifndef        __HAVE_ASM_ATOMIC_CAS_UP
+#ifndef        __HAVE_ASM_ATOMIC_CAS_8_UP
 static uint8_t
-_atomic_cas_up(volatile uint8_t *ptr, uint8_t old, uint8_t new)
+_atomic_cas_8_up(volatile uint8_t *ptr, uint8_t old, uint8_t new)
 {
        uint8_t ret;
 



Home | Main Index | Thread Index | Old Index