summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2012-06-02 04:49:15 -0700
committerYukihiro "Matz" Matsumoto <[email protected]>2012-06-02 04:49:15 -0700
commit29d5f616fad90970766c1e11718ab3e10abb9123 (patch)
treef8e36987989c41cbc155b1f48aa72eb88e89a82b /src
parent98fb528f6f80ade0f08e9a373cb89848bc3ded13 (diff)
parentc3e0aedece10344a6b3288e0e036273f6d5ba4ba (diff)
downloadmruby-29d5f616fad90970766c1e11718ab3e10abb9123.tar.gz
mruby-29d5f616fad90970766c1e11718ab3e10abb9123.zip
Merge pull request #228 from fceller/master
fixed prototype warning (-Wstrict-prototypes)
Diffstat (limited to 'src')
-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 '@':