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 c&p bug.



details:   https://anonhg.NetBSD.org/src/rev/fe20d7c3b633
branches:  trunk
changeset: 326378:fe20d7c3b633
user:      matt <matt%NetBSD.org@localhost>
date:      Mon Jan 27 20:44:29 2014 +0000

description:
fix c&p bug.

diffstat:

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

diffs (18 lines):

diff -r c53cbe6605c1 -r fe20d7c3b633 common/lib/libc/atomic/atomic_or_64_cas.c
--- a/common/lib/libc/atomic/atomic_or_64_cas.c Mon Jan 27 20:01:50 2014 +0000
+++ b/common/lib/libc/atomic/atomic_or_64_cas.c Mon Jan 27 20:44:29 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: atomic_or_64_cas.c,v 1.7 2014/01/27 18:29:47 matt Exp $        */
+/*     $NetBSD: atomic_or_64_cas.c,v 1.8 2014/01/27 20:44:29 matt Exp $        */
 
 /*-
  * Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
 
 uint64_t __sync_fetch_and_or_8(volatile uint64_t *addr, uint64_t val);
 
-void
+uint64_t
 __sync_fetch_and_or_8(volatile uint64_t *addr, uint64_t val)
 {
        uint64_t old, new;



Home | Main Index | Thread Index | Old Index