summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index 3fedc6d361..bfe5f36b0e 100644
--- a/eval.c
+++ b/eval.c
@@ -11361,6 +11361,7 @@ rb_thread_select(max, read, write, except, timeout)
}
static int rb_thread_join0 _((rb_thread_t, double));
+int rb_thread_join _((VALUE, double));
static int
rb_thread_join0(th, limit)
@@ -12456,7 +12457,7 @@ rb_thread_value(thread)
{
rb_thread_t th = rb_thread_check(thread);
- while (!rb_thread_join(th, DELAY_INFTY));
+ while (!rb_thread_join0(th, DELAY_INFTY));
return th->result;
}