diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-09-13 14:46:44 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-09-13 14:46:44 +0000 |
commit | a1ea7b6d5625cf3fe3dca9d0f64294211a9f644a (patch) | |
tree | da6c2f7f3e4af844d5e82ed9ada283f2c64c2e7e /dir.c | |
parent | a28c0eecbb4110bc770b328561f02515db81f4ae (diff) | |
download | ruby-a1ea7b6d5625cf3fe3dca9d0f64294211a9f644a.tar.gz |
* dir.c (glob_func_caller): add prototype to get rid of warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dir.c')
-rw-r--r-- | dir.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -659,10 +659,13 @@ struct glob_args { VALUE v; }; +static VALUE glob_func_caller _((VALUE)); + static VALUE -glob_func_caller(args) - struct glob_args *args; +glob_func_caller(val) + VALUE val; { + struct glob_args *args = (struct glob_args *)val; (*args->func)(args->c, args->v); return Qnil; } |