Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions ext/io/console/console.c
Original file line number Diff line number Diff line change
Expand Up @@ -1878,6 +1878,8 @@ console_ttyname(VALUE io)
# define console_ttyname rb_f_notimplement
#endif

static void InitVM_console(void);

/*
* IO console methods
*/
Expand Down Expand Up @@ -1907,10 +1909,10 @@ Init_console(void)
#ifndef HAVE_RB_F_SEND
id___send__ = rb_intern("__send__");
#endif
InitVM(console);
InitVM_console();
}

void
static void
InitVM_console(void)
{
rb_define_method(rb_cIO, "raw", console_raw, -1);
Expand Down