summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-09-13 14:46:44 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-09-13 14:46:44 +0000
commita1ea7b6d5625cf3fe3dca9d0f64294211a9f644a (patch)
treeda6c2f7f3e4af844d5e82ed9ada283f2c64c2e7e
parenta28c0eecbb4110bc770b328561f02515db81f4ae (diff)
* 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
-rw-r--r--ChangeLog8
-rw-r--r--dir.c7
2 files changed, 11 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 894cba10c6..3486214299 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
@@ -29,7 +33,7 @@ Thu Sep 12 00:09:32 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
Wed Sep 11 21:25:52 2002 Tanaka Akira <akr@m17n.org>
* pp.rb (ARGF.pretty_print): implemented.
- (PP.pp): arguments reordered.
+ (PP.pp): arguments reordered.
Wed Sep 11 18:55:38 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
@@ -126,7 +130,7 @@ Tue Sep 10 18:26:52 2002 WATANABE Hirofumi <eban@ruby-lang.org>
Tue Sep 10 17:16:14 2002 NAKAMURA Usaku <usa@ruby-lang.org>
* win32/Makefile.sub (miniruby): shouldn't link $(EXTOBJS).
- [ruby-dev:17059]
+ [ruby-dev:17059]
* win32/Makefile.sub ($(LIBRUBY_A), $(LIBRUBY)): avoid lib.exe's
warning. [ruby-dev:17059]
diff --git a/dir.c b/dir.c
index 1886877ebe..212f71329a 100644
--- a/dir.c
+++ b/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;
}