mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
fix typo
* process.c (gcd_timetick_int): Renamed from gcd_timtick_int. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
dac8c1e564
commit
ae5ac37f2d
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
Mon Aug 26 10:16:59 2013 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
|
||||
|
||||
* process.c (gcd_timetick_int): Renamed from gcd_timtick_int.
|
||||
|
||||
Sun Aug 25 21:02:15 2013 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* sizes.c (Init_sizes): Define the size of clock_t.
|
||||
|
|
|
@ -6680,7 +6680,7 @@ typedef long timetick_int_t;
|
|||
#endif
|
||||
|
||||
static timetick_int_t
|
||||
gcd_timtick_int(timetick_int_t a, timetick_int_t b)
|
||||
gcd_timetick_int(timetick_int_t a, timetick_int_t b)
|
||||
{
|
||||
timetick_int_t t;
|
||||
|
||||
|
@ -6702,7 +6702,7 @@ gcd_timtick_int(timetick_int_t a, timetick_int_t b)
|
|||
static void
|
||||
reduce_fraction(timetick_int_t *np, timetick_int_t *dp)
|
||||
{
|
||||
timetick_int_t gcd = gcd_timtick_int(*np, *dp);
|
||||
timetick_int_t gcd = gcd_timetick_int(*np, *dp);
|
||||
if (gcd != 1) {
|
||||
*np /= gcd;
|
||||
*dp /= gcd;
|
||||
|
|
Loading…
Reference in a new issue