Skip to content

Commit

Permalink
[ruby/io-wait] Remove redundant forward declarations
Browse files Browse the repository at this point in the history
These were needed before prototype declarations were used.

ruby/io-wait@35f016833a
  • Loading branch information
nobu authored and matzbot committed Jun 21, 2022
1 parent f44547c commit a0b24f5
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions ext/io/wait/wait.c
Expand Up @@ -41,11 +41,6 @@
#endif

#ifndef HAVE_RB_IO_WAIT
static VALUE io_ready_p _((VALUE io));
static VALUE io_wait_readable _((int argc, VALUE *argv, VALUE io));
static VALUE io_wait_writable _((int argc, VALUE *argv, VALUE io));
void Init_wait _((void));

static struct timeval *
get_timeout(int argc, VALUE *argv, struct timeval *timerec)
{
Expand Down

0 comments on commit a0b24f5

Please sign in to comment.