[前][次][番号順一覧][スレッド一覧]

ruby-changes:64109

From: S-H-GAMELINKS <ko1@a...>
Date: Sat, 12 Dec 2020 14:13:04 +0900 (JST)
Subject: [ruby-changes:64109] 52bca75cde (master): Remove unused function declarations

https://git.ruby-lang.org/ruby.git/commit/?id=52bca75cde

From 52bca75cde2d888e636301fc43f6371808118154 Mon Sep 17 00:00:00 2001
From: S-H-GAMELINKS <gamelinks007@g...>
Date: Fri, 11 Dec 2020 14:20:43 +0900
Subject: Remove unused function declarations


diff --git a/numeric.c b/numeric.c
index ab6e6d9..2d338e1 100644
--- a/numeric.c
+++ b/numeric.c
@@ -170,13 +170,9 @@ round_half_even(double x, double s) https://github.com/ruby/ruby/blob/trunk/numeric.c#L170
     return x;
 }
 
-static VALUE fix_uminus(VALUE num);
-static VALUE fix_mul(VALUE x, VALUE y);
 static VALUE fix_lshift(long, unsigned long);
 static VALUE fix_rshift(long, unsigned long);
 static VALUE int_pow(long x, unsigned long y);
-static VALUE int_even_p(VALUE x);
-static int int_round_zero_p(VALUE num, int ndigits);
 static VALUE rb_int_floor(VALUE num, int ndigits);
 static VALUE rb_int_ceil(VALUE num, int ndigits);
 static VALUE flo_to_i(VALUE num);
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]