Skip to content

Commit 312000d

Browse files
committed
Don't use public deprecated functions.
1 parent 5c752d8 commit 312000d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

io.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1577,13 +1577,13 @@ rb_wait_for_single_fd(int fd, int events, struct timeval *timeout)
15771577
int
15781578
rb_thread_wait_fd(int fd)
15791579
{
1580-
return rb_wait_for_single_fd(fd, RUBY_IO_READABLE, NULL);
1580+
return io_wait_for_single_fd(fd, RUBY_IO_READABLE, NULL);
15811581
}
15821582

15831583
int
15841584
rb_thread_fd_writable(int fd)
15851585
{
1586-
return rb_wait_for_single_fd(fd, RUBY_IO_WRITABLE, NULL);
1586+
return io_wait_for_single_fd(fd, RUBY_IO_WRITABLE, NULL);
15871587
}
15881588

15891589
VALUE

0 commit comments

Comments
 (0)