1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Protoized old pre-ANSI K&R style definitions

This commit is contained in:
Nobuyoshi Nakada 2020-12-05 14:46:34 +09:00
parent a83a51932d
commit d2b7e1e4b2
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6
5 changed files with 8 additions and 8 deletions

View file

@ -39,7 +39,7 @@ Init_Scheduler(void)
}
VALUE
rb_scheduler_get()
rb_scheduler_get(void)
{
rb_thread_t *thread = GET_THREAD();
VM_ASSERT(thread);
@ -76,7 +76,7 @@ rb_threadptr_scheduler_current(rb_thread_t *thread)
}
VALUE
rb_scheduler_current()
rb_scheduler_current(void)
{
return rb_threadptr_scheduler_current(GET_THREAD());
}