diff options
| author | Frank Celler <[email protected]> | 2012-06-02 12:04:08 +0200 |
|---|---|---|
| committer | Frank Celler <[email protected]> | 2012-06-02 12:04:08 +0200 |
| commit | a3d00a902a64047de8b489952e78230716b7aa6b (patch) | |
| tree | 0a538442197ba497446e2967debdaa7516496b00 /src | |
| parent | aeffe3f712ac9622f8e8a451bfb2d6100f89b413 (diff) | |
| download | mruby-a3d00a902a64047de8b489952e78230716b7aa6b.tar.gz mruby-a3d00a902a64047de8b489952e78230716b7aa6b.zip | |
fixed prototype: g++ will complain about definition not being a prototype, should work with GCC and VC as well
Diffstat (limited to 'src')
| -rw-r--r-- | src/symbol.c | 3 |
1 files changed, 1 insertions, 2 deletions
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 '@': |
