diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-01-31 00:03:28 -0800 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-01-31 00:03:28 -0800 |
| commit | 6cf42a8200f7d9215a2da5c0203d27c472577b59 (patch) | |
| tree | 39fdc6c93bb1c6f4bcca37ebbde99a400ca618e5 /mrbgems/mruby-bin-mirb/tools/mirb | |
| parent | 4e2a9509dc8f727b4dfb627d79a22bf1177a2f40 (diff) | |
| parent | f2a62a74ed22a535ebea4dd71faf05bda6011fd4 (diff) | |
| download | mruby-6cf42a8200f7d9215a2da5c0203d27c472577b59.tar.gz mruby-6cf42a8200f7d9215a2da5c0203d27c472577b59.zip | |
Merge pull request #1671 from cremno/extern-cleanup
clean up external symbols
Diffstat (limited to 'mrbgems/mruby-bin-mirb/tools/mirb')
| -rw-r--r-- | mrbgems/mruby-bin-mirb/tools/mirb/mirb.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c b/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c index 5505e8e5e..75d51265b 100644 --- a/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c +++ b/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c @@ -42,7 +42,7 @@ p(mrb_state *mrb, mrb_value obj, int prompt) /* Guess if the user might want to enter more * or if he wants an evaluation of his code now */ -mrb_bool +static mrb_bool is_code_block_open(struct mrb_parser_state *parser) { int code_block_open = FALSE; @@ -221,7 +221,7 @@ print_hint(void) } /* Print the command line prompt of the REPL */ -void +static void print_cmdline(int code_block_open) { if (code_block_open) { @@ -232,7 +232,7 @@ print_cmdline(int code_block_open) } } -void codedump_all(mrb_state*, struct RProc*); +void mrb_codedump_all(mrb_state*, struct RProc*); int main(int argc, char **argv) @@ -364,7 +364,7 @@ main(int argc, char **argv) struct RProc *proc = mrb_generate_code(mrb, parser); if (args.verbose) { - codedump_all(mrb, proc); + mrb_codedump_all(mrb, proc); } /* pass a proc for evaulation */ nregs = first_command ? 0: proc->body.irep->nregs; |
