Use the old style declaration; ref #4365

This commit is contained in:
Yukihiro "Matz" Matsumoto
2019-04-10 05:42:36 +09:00
parent 292bffb32e
commit 16f86f8ede
+3 -1
View File
@@ -1116,7 +1116,9 @@ mrb_class_find_path(mrb_state *mrb, struct RClass *c)
mrb_bool
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;
}
return TRUE;