зеркало из https://github.com/github/ruby.git
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:
Родитель
dac8c1e564
Коммит
ae5ac37f2d
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче