From a3d00a902a64047de8b489952e78230716b7aa6b Mon Sep 17 00:00:00 2001 From: Frank Celler Date: Sat, 2 Jun 2012 12:04:08 +0200 Subject: fixed prototype: g++ will complain about definition not being a prototype, should work with GCC and VC as well --- src/symbol.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/symbol.c b/src/symbol.c index aa5b659fa..d09833689 100644 --- a/src/symbol.c +++ b/src/symbol.c @@ -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 '@': -- cgit v1.2.3