diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-09-07 06:55:01 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-09-07 06:55:01 +0000 |
commit | d6dc86a1fbf3f6c2aac060bcc12105c56800cf86 (patch) | |
tree | 2137588b1d8da38a3893b44d907b9640b0bb12b5 | |
parent | eb61ebbb38162e496e6551da929ed47c6a0cc0d0 (diff) | |
download | ruby-d6dc86a1fbf3f6c2aac060bcc12105c56800cf86.tar.gz |
ruby_atomic.h: fix typo
* ruby_atomic.h (ATOMIC_VALUE_CAS): fix typo.
TODO: make arguments of all CAS macros consistent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ruby_atomic.h | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Mon Sep 7 15:54:58 2015 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * ruby_atomic.h (ATOMIC_VALUE_CAS): fix typo. + TODO: make arguments of all CAS macros consistent. + Sun Sep 6 16:07:22 2015 Eric Wong <e@80x24.org> * ccan/list/list.h: suppress unused argument warnings diff --git a/ruby_atomic.h b/ruby_atomic.h index cd2fbcea50..57368a7448 100644 --- a/ruby_atomic.h +++ b/ruby_atomic.h @@ -168,7 +168,7 @@ ruby_atomic_size_exchange(size_t *ptr, size_t val) # define ATOMIC_VALUE_EXCHANGE(var, val) ATOMIC_EXCHANGE(var, val) # endif # ifndef ATOMIC_VALUE_CAS -# define ATOMIC_VALUE_CAS(var, oldval, val) ATOMIC_CAS(var, oldval, newval) +# define ATOMIC_VALUE_CAS(var, oldval, val) ATOMIC_CAS(var, oldval, val) # endif #endif |