Add static declaration

This commit is contained in:
kano4
2013-03-12 22:59:39 +09:00
parent f63cd331da
commit d25af7ccf9
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -17,7 +17,8 @@ void
mrb_init_mrbtest(mrb_state *);
/* Print a short remark for the user */
void print_hint(void)
static void
print_hint(void)
{
printf("mrbtest - Embeddable Ruby Test\n");
printf("\nThis is a very early version, please test and report errors.\n");
+2 -1
View File
@@ -132,7 +132,8 @@ is_code_block_open(struct mrb_parser_state *parser)
}
/* Print a short remark for the user */
void print_hint(void)
static void
print_hint(void)
{
printf("mirb - Embeddable Interactive Ruby Shell\n");
printf("\nThis is a very early version, please test and report errors.\n");