diff options
author | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-03-05 13:59:21 +0000 |
---|---|---|
committer | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-03-05 13:59:21 +0000 |
commit | eaf08203dd3357808945b2926c3696578452fc0b (patch) | |
tree | 0c0829ea92c25f80b56c3752d58a2afbf8ebf6b0 /include | |
parent | a474b0e3f72533159f87a6efd52a4bc3028467fe (diff) | |
download | ruby-eaf08203dd3357808945b2926c3696578452fc0b.tar.gz |
* include/ruby/intern.h: fix a typo of prototype declaration.
rb_mutex_try_lock -> rb_mutex_trylock [ruby-dev:43213]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include')
-rw-r--r-- | include/ruby/intern.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ruby/intern.h b/include/ruby/intern.h index 7321a022a9..472166d995 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -802,7 +802,7 @@ VALUE rb_thread_io_blocking_region(rb_blocking_function_t *func, void *data1, in #define RUBY_UBF_PROCESS ((rb_unblock_function_t *)-1) VALUE rb_mutex_new(void); VALUE rb_mutex_locked_p(VALUE mutex); -VALUE rb_mutex_try_lock(VALUE mutex); +VALUE rb_mutex_trylock(VALUE mutex); VALUE rb_mutex_lock(VALUE mutex); VALUE rb_mutex_unlock(VALUE mutex); VALUE rb_mutex_sleep(VALUE self, VALUE timeout); |