summaryrefslogtreecommitdiff
path: root/numeric.c
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-18 09:44:39 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-18 09:44:39 +0000
commit193b85a9e0ec3d4a61d2b84998e0c07b65483243 (patch)
tree5d8a0c8c20184b002146445025ee8ba74cb224a3 /numeric.c
parent29b0b75beb82672ac446cb901f9af83808a40fda (diff)
num_funcall_op_1_recursion marked as NORETURN
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'numeric.c')
-rw-r--r--numeric.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/numeric.c b/numeric.c
index 4776b2485d..75e1617bf5 100644
--- a/numeric.c
+++ b/numeric.c
@@ -329,6 +329,8 @@ num_funcall0(VALUE x, ID func)
return rb_exec_recursive(num_funcall_op_0, x, (VALUE)func);
}
+NORETURN(static void num_funcall_op_1_recursion(VALUE x, ID func, VALUE y));
+
static void
num_funcall_op_1_recursion(VALUE x, ID func, VALUE y)
{