summaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2013-03-12 07:12:51 -0700
committerYukihiro "Matz" Matsumoto <[email protected]>2013-03-12 07:12:51 -0700
commit9cfaa378104cd0063345b174661139a989b06559 (patch)
tree95aabe1cf59f425df1b19df27a21f4441478a1b8 /tools
parentf63cd331da6257f9b44778dabff60be55b0721fa (diff)
parentd25af7ccf9bb80315749097d2a6968a2569394bf (diff)
downloadmruby-9cfaa378104cd0063345b174661139a989b06559.tar.gz
mruby-9cfaa378104cd0063345b174661139a989b06559.zip
Merge pull request #991 from kano4/add_static
Add static declaration
Diffstat (limited to 'tools')
-rw-r--r--tools/mirb/mirb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/mirb/mirb.c b/tools/mirb/mirb.c
index e20de629d..c20c788e4 100644
--- a/tools/mirb/mirb.c
+++ b/tools/mirb/mirb.c
@@ -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");