summaryrefslogtreecommitdiff
path: root/numeric.c
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2020-07-11 14:25:51 +0900
committer卜部昌平 <shyouhei@ruby-lang.org>2020-07-13 08:56:18 +0900
commit802bcd3ec81c1f5de77dbfbe8d9934c5760c85d7 (patch)
tree406c383ace635aa5d0e3af941514d59f01f5bd5e /numeric.c
parent4506f6119a047eea5a76db89834c31578780c442 (diff)
fix MJIT link error
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3305
Diffstat (limited to 'numeric.c')
-rw-r--r--numeric.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numeric.c b/numeric.c
index b59c3198cc..b40984e4ec 100644
--- a/numeric.c
+++ b/numeric.c
@@ -4931,7 +4931,7 @@ rb_fix_bit_length(VALUE fix)
return LONG2FIX(bit_length(v));
}
-static VALUE
+VALUE
rb_int_bit_length(VALUE num)
{
if (FIXNUM_P(num)) {