summaryrefslogtreecommitdiff
path: root/regex.c
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 /regex.c
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
Diffstat (limited to 'regex.c')
-rw-r--r--regex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regex.c b/regex.c
index 9e64af5..1a53739 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