summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-07-13 05:50:04 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-07-13 05:50:04 +0000
commitb0fd7aed1a78dbc6fc0007f9eec0ec24625628df (patch)
tree711690ba13265c7eba6c95913b940df4a0f819ce /dir.c
parente690040379ed10e238bfa7f17b48fe31ecb2bab0 (diff)
* eval.c: wrapper modifies updated to 1.7 changes.
* object.c (rb_obj_dup): should free generic_ivar if original owns them. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dir.c b/dir.c
index 187ae1896e..42d9e8eb03 100644
--- a/dir.c
+++ b/dir.c
@@ -572,7 +572,7 @@ void
rb_glob_helper(path, flags, func, arg)
char *path;
int flags;
- void (*func)();
+ void (*func) _((const char*, VALUE));
VALUE arg;
{
struct stat st;
@@ -702,7 +702,7 @@ rb_glob(path, func, arg)
void
rb_iglob(path, func, arg)
char *path;
- void (*func)();
+ void (*func) _((const char*, VALUE));
VALUE arg;
{
rb_glob_helper(path, FNM_PERIOD|FNM_NOCASE, func, arg);