aboutsummaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-10-11 11:57:17 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-10-11 11:57:32 +0900
commitfddffa4c7a86039c63c97f4e5c883de9f3bd0e02 (patch)
treede20dce24719159853699a5e28a2fa38918c4480 /io.c
parent71428ac2645400c02b0ee56b0ff7021542b9616f (diff)
downloadruby-fddffa4c7a86039c63c97f4e5c883de9f3bd0e02.tar.gz
Respect the original styles [ci skip]
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) {