From d25af7ccf9bb80315749097d2a6968a2569394bf Mon Sep 17 00:00:00 2001 From: kano4 Date: Tue, 12 Mar 2013 22:59:39 +0900 Subject: Add static declaration --- test/driver.c | 3 ++- tools/mirb/mirb.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/test/driver.c b/test/driver.c index 5183145b4..eda82a7f2 100644 --- a/test/driver.c +++ b/test/driver.c @@ -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"); 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"); -- cgit v1.2.3