mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
a28c0eecbb
commit
a1ea7b6d56
2 changed files with 11 additions and 4 deletions
|
@ -1,3 +1,7 @@
|
|||
Fri Sep 13 23:39:49 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
|
||||
|
||||
* dir.c (glob_func_caller): add prototype to get rid of warning.
|
||||
|
||||
Fri Sep 13 18:35:12 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
|
||||
|
||||
* eval.c (rb_eval): avoid uninitialized global/class variable
|
||||
|
|
7
dir.c
7
dir.c
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue