Skip to content

Commit

Permalink
Restore deprecation warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Mar 6, 2024
1 parent 9ab1fa3 commit d736f50
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/ruby/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,7 @@ void rb_io_extract_modeenc(VALUE *vmode_p, VALUE *vperm_p, VALUE opthash, int *o
*/
ssize_t rb_io_bufwrite(VALUE io, const void *buf, size_t size);

//RBIMPL_ATTR_DEPRECATED(("use rb_io_maybe_wait_readable"))
RBIMPL_ATTR_DEPRECATED(("use rb_io_maybe_wait_readable"))
/**
* Blocks until the passed file descriptor gets readable.
*
Expand All @@ -764,7 +764,7 @@ ssize_t rb_io_bufwrite(VALUE io, const void *buf, size_t size);
*/
int rb_io_wait_readable(int fd);

//RBIMPL_ATTR_DEPRECATED(("use rb_io_maybe_wait_writable"))
RBIMPL_ATTR_DEPRECATED(("use rb_io_maybe_wait_writable"))
/**
* Blocks until the passed file descriptor gets writable.
*
Expand All @@ -775,7 +775,7 @@ int rb_io_wait_readable(int fd);
*/
int rb_io_wait_writable(int fd);

//RBIMPL_ATTR_DEPRECATED(("use rb_io_wait"))
RBIMPL_ATTR_DEPRECATED(("use rb_io_wait"))
/**
* Blocks until the passed file descriptor is ready for the passed events.
*
Expand Down

0 comments on commit d736f50

Please sign in to comment.