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:
parent
a83a51932d
commit
d2b7e1e4b2
5 changed files with 8 additions and 8 deletions
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue