summaryrefslogtreecommitdiff
path: root/regparse.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-04-24 16:23:15 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-04-24 16:23:15 +0000
commit0fe7df5c2f94550a9505176c4e3ec48d2a394a3a (patch)
tree96c822dbff21d5fd17a6f1be202b52af27e0aac2 /regparse.c
parent1a0261296361397650c5665869a782a0f6b8b8e8 (diff)
downloadruby-0fe7df5c2f94550a9505176c4e3ec48d2a394a3a.tar.gz
* oniguruma.h (OnigWarnFunc): add a variadic argument.
[ruby-core:4751] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'regparse.c')
-rw-r--r--regparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regparse.c b/regparse.c
index 04a0ccea5b..0d8f5bc0bb 100644
--- a/regparse.c
+++ b/regparse.c
@@ -58,7 +58,7 @@ OnigSyntaxType OnigSyntaxRuby = {
OnigSyntaxType* OnigDefaultSyntax = ONIG_SYNTAX_RUBY;
-extern void onig_null_warn(const char* s) { }
+extern void onig_null_warn(const char* s, ...) { }
#ifdef DEFAULT_WARN_FUNCTION
static OnigWarnFunc onig_warn = (OnigWarnFunc )DEFAULT_WARN_FUNCTION;