aboutsummaryrefslogtreecommitdiffstats
path: root/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'error.c')
-rw-r--r--error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/error.c b/error.c
index 5606612bb5..fb1de8a06e 100644
--- a/error.c
+++ b/error.c
@@ -917,7 +917,7 @@ rb_exc_set_backtrace(VALUE exc, VALUE bt)
* information.
*/
-VALUE
+static VALUE
exc_cause(VALUE exc)
{
return rb_attr_get(exc, id_cause);