diff options
author | 卜部昌平 <[email protected]> | 2019-08-28 16:18:58 +0900 |
---|---|---|
committer | 卜部昌平 <[email protected]> | 2019-08-29 18:34:09 +0900 |
commit | 69683968a99a8281c28e46c1e6cb3736694a1ba6 (patch) | |
tree | 24fc2265f18479629ee886be55597607cead7b3f /thread_sync.c | |
parent | abe12d8b96be3c12618811f22ca01788366f99f8 (diff) |
fix arity of rb_mutex_synchronize_m
This is just a trivial mistake introduced in
6c56dae4b23c5c50e351758538141ca26b9aba40.
Diffstat (limited to 'thread_sync.c')
-rw-r--r-- | thread_sync.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/thread_sync.c b/thread_sync.c index f98a7655c0..afeaaa464e 100644 --- a/thread_sync.c +++ b/thread_sync.c @@ -521,7 +521,7 @@ rb_mutex_synchronize(VALUE mutex, VALUE (*func)(VALUE arg), VALUE arg) * completes. See the example under +Mutex+. */ static VALUE -rb_mutex_synchronize_m(VALUE self, VALUE args) +rb_mutex_synchronize_m(VALUE self) { if (!rb_block_given_p()) { rb_raise(rb_eThreadError, "must be called with a block"); |