summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
authorsorah <sorah@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-12 12:17:38 +0000
committersorah <sorah@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-12 12:17:38 +0000
commitd18fb887ea04e132f3a26baf6a8a0307839322db (patch)
treebf3999d80d044ef9ce0dbf3481490256545df387 /error.c
parent29e1f56e2319a9f6e9b611579b4c5a07d0663598 (diff)
error.c(rb_error_write): Remove ec_ from its name
It's unrelated to rb_execution_context_t during writing the patch r61154 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'error.c')
-rw-r--r--error.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/error.c b/error.c
index 18168eda7a..68fe270937 100644
--- a/error.c
+++ b/error.c
@@ -951,7 +951,7 @@ exc_to_s(VALUE exc)
}
/* FIXME: Include eval_error.c */
-void rb_ec_error_write(VALUE errinfo, VALUE errat, VALUE str);
+void rb_error_write(VALUE errinfo, VALUE errat, VALUE str);
/*
* call-seq:
@@ -968,7 +968,7 @@ exc_full_message(VALUE exc)
{
VALUE str = rb_str_new2("");
VALUE errat = rb_get_backtrace(exc);
- rb_ec_error_write(exc, errat, str);
+ rb_error_write(exc, errat, str);
return str;
}