Commit 9cfaa378 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto

Merge pull request #991 from kano4/add_static

Add static declaration
parents f63cd331 d25af7cc
...@@ -17,7 +17,8 @@ void ...@@ -17,7 +17,8 @@ void
mrb_init_mrbtest(mrb_state *); mrb_init_mrbtest(mrb_state *);
/* Print a short remark for the user */ /* Print a short remark for the user */
void print_hint(void) static void
print_hint(void)
{ {
printf("mrbtest - Embeddable Ruby Test\n"); printf("mrbtest - Embeddable Ruby Test\n");
printf("\nThis is a very early version, please test and report errors.\n"); printf("\nThis is a very early version, please test and report errors.\n");
......
...@@ -132,7 +132,8 @@ is_code_block_open(struct mrb_parser_state *parser) ...@@ -132,7 +132,8 @@ is_code_block_open(struct mrb_parser_state *parser)
} }
/* Print a short remark for the user */ /* Print a short remark for the user */
void print_hint(void) static void
print_hint(void)
{ {
printf("mirb - Embeddable Interactive Ruby Shell\n"); printf("mirb - Embeddable Interactive Ruby Shell\n");
printf("\nThis is a very early version, please test and report errors.\n"); printf("\nThis is a very early version, please test and report errors.\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment