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

hotfix implicit-function-declaration

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
sorah 2017-12-12 12:10:21 +00:00
parent 9fa87ebe7f
commit 2ce0847e9e
2 changed files with 4 additions and 1 deletions

View file

@ -950,6 +950,9 @@ exc_to_s(VALUE exc)
return rb_String(mesg);
}
/* FIXME: Include eval_error.c */
void rb_ec_error_write(VALUE errinfo, VALUE errat, VALUE str);
/*
* call-seq:
* exception.full_message -> string

View file

@ -188,7 +188,7 @@ print_backtrace(const VALUE eclass, const VALUE errat, const VALUE str, int reve
}
void
rb_ec_error_write(volatile VALUE errinfo, volatile VALUE errat, volatile VALUE str)
rb_ec_error_write(VALUE errinfo, VALUE errat, VALUE str)
{
volatile VALUE eclass = Qundef, emesg = Qundef;