Skip to content

Commit

Permalink
Don't use public deprecated functions.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Mar 6, 2024
1 parent d736f50 commit 186c950
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions io.c
Expand Up @@ -1566,13 +1566,13 @@ rb_wait_for_single_fd(int fd, int events, struct timeval *timeout)
int
rb_thread_wait_fd(int fd)
{
return rb_wait_for_single_fd(fd, RUBY_IO_READABLE, NULL);
return io_wait_for_single_fd(fd, RUBY_IO_READABLE, NULL);
}

int
rb_thread_fd_writable(int fd)
{
return rb_wait_for_single_fd(fd, RUBY_IO_WRITABLE, NULL);
return io_wait_for_single_fd(fd, RUBY_IO_WRITABLE, NULL);
}

VALUE
Expand Down

0 comments on commit 186c950

Please sign in to comment.