mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Use the old style declaration; ref #4365
This commit is contained in:
+3
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user