aboutsummaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'io.c')
-rw-r--r--io.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/io.c b/io.c
index b970244e1e..c986ffbc47 100644
--- a/io.c
+++ b/io.c
@@ -1262,7 +1262,8 @@ io_fflush(rb_io_t *fptr)
}
VALUE
-rb_io_wait(VALUE io, VALUE events, VALUE timeout) {
+rb_io_wait(VALUE io, VALUE events, VALUE timeout)
+{
VALUE scheduler = rb_thread_current_scheduler();
if (scheduler != Qnil) {