diff --git a/ChangeLog b/ChangeLog index f1cfe69220..cad0780166 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Mon Apr 25 01:18:43 2005 Tanaka Akira + + * regex.c: declare rb_warn to have variadic argument. [ruby-core:4751] + Sat Apr 23 19:45:59 2005 Hirokazu Yamamoto * ext/tcltklib/tcltklib.c (ip_RubyExitCommand): exit with status code diff --git a/regex.c b/regex.c index 9e64af57d1..1a53739327 100644 --- a/regex.c +++ b/regex.c @@ -185,7 +185,7 @@ static int current_mbctype = MBCTYPE_ASCII; #ifdef RUBY #include "util.h" -void rb_warn _((char*)); +void rb_warn _((const char*, ...)); # define re_warning(x) rb_warn(x) #endif