aboutsummaryrefslogtreecommitdiffstats
path: root/thread.c
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2019-08-27 12:40:06 +0900
committer卜部昌平 <shyouhei@ruby-lang.org>2019-08-27 15:52:26 +0900
commit19b6678132acc56460432d8c2d6246f399b27160 (patch)
tree8bf88f900311587c8791ee3176771d45d54ca2c2 /thread.c
parentbd8dc2561d4983df7bf44dbc6ca194930532adc7 (diff)
downloadruby-19b6678132acc56460432d8c2d6246f399b27160.tar.gz
rb_uninterruptible now free from ANYARGS
After 5e86b005c0f2ef30df2f9906c7e2f3abefe286a2, I now think ANYARGS is dangerous and should be extinct. This function has only one call site so adding appropriate prototype is trivial.
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thread.c b/thread.c
index 57ccfef8b7..752b8b0cd3 100644
--- a/thread.c
+++ b/thread.c
@@ -5507,7 +5507,7 @@ rb_default_coverage(int n)
}
VALUE
-rb_uninterruptible(VALUE (*b_proc)(ANYARGS), VALUE data)
+rb_uninterruptible(VALUE (*b_proc)(VALUE), VALUE data)
{
VALUE interrupt_mask = rb_ident_hash_new();
rb_thread_t *cur_th = GET_THREAD();