mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
fixed prototype: g++ will complain about definition not being a prototype, should work with GCC and VC as well
This commit is contained in:
+1
-2
@@ -188,8 +188,7 @@ sym_to_sym(mrb_state *mrb, mrb_value sym)
|
||||
#define is_identchar(c) (SIGN_EXTEND_CHAR(c)!=-1&&(ISALNUM(c) || (c) == '_'))
|
||||
|
||||
static int
|
||||
is_special_global_name(m)
|
||||
const char *m;
|
||||
is_special_global_name(const char* m)
|
||||
{
|
||||
switch (*m) {
|
||||
case '~': case '*': case '$': case '?': case '!': case '@':
|
||||
|
||||
Reference in New Issue
Block a user