Commit a3d00a90 authored by Frank Celler's avatar Frank Celler

fixed prototype: g++ will complain about definition not being a prototype,...

fixed prototype: g++ will complain about definition not being a prototype, should work with GCC and VC as well
parent aeffe3f7
......@@ -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 '@':
......
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