Fix unused function warning when readline enabled (mirb)

This commit is contained in:
kyab
2014-02-23 20:43:43 +09:00
parent e202d4cd53
commit 1cf619d3b4
+2
View File
@@ -218,6 +218,7 @@ print_hint(void)
printf("mirb - Embeddable Interactive Ruby Shell\n\n");
}
#ifndef ENABLE_READLINE
/* Print the command line prompt of the REPL */
static void
print_cmdline(int code_block_open)
@@ -229,6 +230,7 @@ print_cmdline(int code_block_open)
printf("> ");
}
}
#endif
void mrb_codedump_all(mrb_state*, struct RProc*);