Use the old style declaration; ref #4365

parent 292bffb3
...@@ -1116,7 +1116,9 @@ mrb_class_find_path(mrb_state *mrb, struct RClass *c) ...@@ -1116,7 +1116,9 @@ mrb_class_find_path(mrb_state *mrb, struct RClass *c)
mrb_bool mrb_bool
mrb_ident_p(const char *s, mrb_int len) mrb_ident_p(const char *s, mrb_int len)
{ {
for (mrb_int i = 0; i < len; i++) { mrb_int i;
for (i = 0; i < len; i++) {
if (!identchar(s[i])) return FALSE; if (!identchar(s[i])) return FALSE;
} }
return TRUE; return TRUE;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment