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
This commit is contained in:
cremno
2014-01-31 01:30:18 +01:00
parent a68a517028
commit f2a62a74ed
9 changed files with 85 additions and 93 deletions
+2 -2
View File
@@ -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);
}