From 1d3d27b42d1371ba6242ec217ca803f107ceb9eb Mon Sep 17 00:00:00 2001 From: matz Date: Sun, 6 May 2001 15:06:00 +0000 Subject: forgot some checkins. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- dir.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'dir.c') diff --git a/dir.c b/dir.c index 0289b661c9..772d53fe01 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); -- cgit v1.2.3