1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
akr 2005-04-24 16:23:15 +00:00
parent 1a02612963
commit 0fe7df5c2f
3 changed files with 8 additions and 3 deletions

View file

@ -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;