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
+1 -1
View File
@@ -132,7 +132,7 @@ str_new(mrb_state *mrb, const char *p, mrb_int len)
return s;
}
void
static void
str_with_class(mrb_state *mrb, struct RString *s, mrb_value obj)
{
s->c = mrb_str_ptr(obj)->c;