summaryrefslogtreecommitdiff
path: root/numeric.c
diff options
context:
space:
mode:
authoryui-knk <yui-knk@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-05-04 14:12:10 (GMT)
committeryui-knk <yui-knk@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-05-04 14:12:10 (GMT)
commit903161e0af9b52b6ec182783744abcb7170d522a (patch)
tree6eafd171c9bec28d3b5c77bb0a4bd5fd01f05b45 /numeric.c
parent09550d14b6fb6b9f3eae9de2949f4983c44e8396 (diff)
numeric.c: Remove prototype declarations to internal.h
* numeric.c (fix_plus): Remove rb_nucomp_add prototype declaration. * numeric.c (fix_mul): Remove rb_nucomp_mul prototype declaration. * internal.h (rb_nucomp_add, rb_nucomp_mul): add prototype declarations. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'numeric.c')
-rw-r--r--numeric.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/numeric.c b/numeric.c
index 29d5e25..3075f89 100644
--- a/numeric.c
+++ b/numeric.c
@@ -3248,7 +3248,6 @@ fix_plus(VALUE x, VALUE y)
return DBL2NUM((double)FIX2LONG(x) + RFLOAT_VALUE(y));
}
else if (RB_TYPE_P(y, T_COMPLEX)) {
- VALUE rb_nucomp_add(VALUE, VALUE);
return rb_nucomp_add(y, x);
}
else {
@@ -3351,7 +3350,6 @@ fix_mul(VALUE x, VALUE y)
return DBL2NUM((double)FIX2LONG(x) * RFLOAT_VALUE(y));
}
else if (RB_TYPE_P(y, T_COMPLEX)) {
- VALUE rb_nucomp_mul(VALUE, VALUE);
return rb_nucomp_mul(y, x);
}
else {