fixed prototype: g++ will complain about definition not being a prototype, should work with GCC and VC as well

This commit is contained in:
Frank Celler
2012-06-02 12:04:08 +02:00
parent aeffe3f712
commit a3d00a902a
+1 -2
View File
@@ -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 '@':