summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-04-24 16:23:42 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-04-24 16:23:42 +0000
commit99fc35c4322e1acb800aa14f44f5b89e1d0a7d19 (patch)
treec827d7792e5c51c0ba0e7531096fc772057e8eba
parent83341854df89d4dc7a2a526cfa1518989b90cf66 (diff)
* regex.c: declare rb_warn to have variadic argument. [ruby-core:4751]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--regex.c2
2 files changed, 5 insertions, 1 deletions
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 <akr@m17n.org>
+
+ * regex.c: declare rb_warn to have variadic argument. [ruby-core:4751]
+
Sat Apr 23 19:45:59 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
* 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