summaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorkano4 <[email protected]>2013-03-12 22:59:39 +0900
committerkano4 <[email protected]>2013-03-12 22:59:39 +0900
commitd25af7ccf9bb80315749097d2a6968a2569394bf (patch)
tree95aabe1cf59f425df1b19df27a21f4441478a1b8 /tools
parentf63cd331da6257f9b44778dabff60be55b0721fa (diff)
downloadmruby-d25af7ccf9bb80315749097d2a6968a2569394bf.tar.gz
mruby-d25af7ccf9bb80315749097d2a6968a2569394bf.zip
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");