From ddf9b405add8ee0ad080888e67fd395cf032bae5 Mon Sep 17 00:00:00 2001 From: matz Date: Tue, 1 Apr 2008 12:21:33 +0000 Subject: [PATCH] * rational.c: need to include just once. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ rational.c | 5 +---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index f8b31c8b83..7661bea8ab 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Tue Apr 1 21:19:41 2008 Yukihiro Matsumoto + + * rational.c: need to include just once. + Tue Apr 1 16:40:21 2008 Nobuyoshi Nakada * bignum.c (big2dbl): more precise conversion at edge cases. diff --git a/rational.c b/rational.c index eccc73165f..3451fc65e5 100644 --- a/rational.c +++ b/rational.c @@ -7,6 +7,7 @@ #include "ruby.h" #include +#include #define NDEBUG #include @@ -1110,8 +1111,6 @@ i_ilog2(VALUE x) return q + r; } -#include - static VALUE nurat_to_f(VALUE self) { @@ -1298,8 +1297,6 @@ integer_to_r(VALUE self) return rb_rational_new1(self); } -#include - static VALUE float_decode(VALUE self) {