summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-15 09:13:39 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-15 09:13:39 +0000
commit74e24ba5a4dc0bec62c8883025c09fb6cc36a1c6 (patch)
tree86868b1d2e6baac9621e7f857cdd07505dafbeca
parent2f036ca17ba76c4f7624af21ba85d8842d1db43d (diff)
downloadruby-74e24ba5a4dc0bec62c8883025c09fb6cc36a1c6.tar.gz
ruby-74e24ba5a4dc0bec62c8883025c09fb6cc36a1c6.tar.xz
ruby-74e24ba5a4dc0bec62c8883025c09fb6cc36a1c6.zip
* dir.c (glob_helper): Fix the function declaration.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@11755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--dir.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f90eafa76..c323825b4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Thu Feb 15 18:10:09 2007 Akinori MUSHA <knu@iDaemons.org>
+
+ * dir.c (glob_helper): Fix the function declaration.
+
Thu Feb 15 16:55:33 2007 Akinori MUSHA <knu@iDaemons.org>
* version.h: Branch off ruby_1_8_6 from ruby_1_8 in preparation
diff --git a/dir.c b/dir.c
index 913a3f61a..c7af1508e 100644
--- a/dir.c
+++ b/dir.c
@@ -1214,7 +1214,7 @@ glob_func_caller(val)
#define glob_call_func(func, path, arg) (*func)(path, arg)
-static int glob_helper _((const char *path, const char *sub, int flags, int (*func)(const char *,VALUE), VALUE arg));
+static int glob_helper _((const char *, int, enum answer, enum answer, struct glob_pattern **, struct glob_pattern **, int, ruby_glob_func *, VALUE));
static int
glob_helper(path, dirsep, exist, isdir, beg, end, flags, func, arg)