summaryrefslogtreecommitdiffhomepage
path: root/src/codegen.c
diff options
context:
space:
mode:
authorcremno <[email protected]>2014-01-31 01:30:18 +0100
committercremno <[email protected]>2014-01-31 01:30:18 +0100
commitf2a62a74ed22a535ebea4dd71faf05bda6011fd4 (patch)
tree78071cfa0dfc9550de8a09b2160f7bf5f11cfb21 /src/codegen.c
parenta68a51702876b9c520c21a15bdf03ea91e0439f0 (diff)
downloadmruby-f2a62a74ed22a535ebea4dd71faf05bda6011fd4.tar.gz
mruby-f2a62a74ed22a535ebea4dd71faf05bda6011fd4.zip
clean up external symbols
remove unused and unneeded: - sysexit_status - type (a global variable) add mrb_ prefix to: - codedump_all - class_instance_method_list - parser_dump make various functions static, incl.: - yyparse - make_exception
Diffstat (limited to 'src/codegen.c')
-rw-r--r--src/codegen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/codegen.c b/src/codegen.c
index 83018c627..931da06e1 100644
--- a/src/codegen.c
+++ b/src/codegen.c
@@ -26,7 +26,7 @@ enum looptype {
LOOP_FOR,
LOOP_BEGIN,
LOOP_RESCUE,
-} type;
+};
struct loopinfo {
enum looptype type;
@@ -2905,7 +2905,7 @@ codedump_recur(mrb_state *mrb, mrb_irep *irep)
}
void
-codedump_all(mrb_state *mrb, struct RProc *proc)
+mrb_codedump_all(mrb_state *mrb, struct RProc *proc)
{
codedump_recur(mrb, proc->body.irep);
}