From c463366dfd75056885028a95e8e2fc6e135d9194 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 29 Jul 2016 11:57:14 +0000 Subject: rb_funcallv * *.c: rename rb_funcall2 to rb_funcallv, except for extensions which are/will be/may be gems. [Fix GH-1406] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- thread_sync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'thread_sync.c') diff --git a/thread_sync.c b/thread_sync.c index ed81a31d76..efa6208f5d 100644 --- a/thread_sync.c +++ b/thread_sync.c @@ -1157,7 +1157,7 @@ static VALUE do_sleep(VALUE args) { struct sleep_call *p = (struct sleep_call *)args; - return rb_funcall2(p->mutex, id_sleep, 1, &p->timeout); + return rb_funcallv(p->mutex, id_sleep, 1, &p->timeout); } static VALUE -- cgit v1.2.3