summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFrank Celler <[email protected]>2012-06-02 12:04:08 +0200
committerFrank Celler <[email protected]>2012-06-02 12:04:08 +0200
commita3d00a902a64047de8b489952e78230716b7aa6b (patch)
tree0a538442197ba497446e2967debdaa7516496b00
parentaeffe3f712ac9622f8e8a451bfb2d6100f89b413 (diff)
downloadmruby-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
-rw-r--r--src/symbol.c3
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 '@':