summaryrefslogtreecommitdiffstats
path: root/dir.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-05-06 15:06:00 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-05-06 15:06:00 +0000
commit7cac8a63655ad829b915144f447681cb6b25cbe8 (patch)
tree8d7e184fd63610124717df8dec31e719901965ad /dir.c
parent34b2868fef4ea1159f0441cab4c30738e101eec7 (diff)
downloadruby-7cac8a63655ad829b915144f447681cb6b25cbe8.tar.gz
ruby-7cac8a63655ad829b915144f447681cb6b25cbe8.tar.xz
ruby-7cac8a63655ad829b915144f447681cb6b25cbe8.zip
forgot some checkins.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/dir.c b/dir.c
index 0289b661c..772d53fe0 100644
--- a/dir.c
+++ b/dir.c
@@ -750,7 +750,7 @@ glob_helper(path, flag, func, arg)
void
rb_glob(path, func, arg)
char *path;
- void (*func)();
+ void (*func) _((const char*, VALUE));
VALUE arg;
{
glob_helper(path, FNM_PERIOD, func, arg);
@@ -765,9 +765,11 @@ rb_globi(path, func, arg)
glob_helper(path, FNM_PERIOD|FNM_NOCASE, func, arg);
}
+static void push_pattern _((const char *path, VALUE ary));
+
static void
push_pattern(path, ary)
- char *path;
+ const char *path;
VALUE ary;
{
VALUE str = rb_tainted_str_new2(path);