From 0eecd0313264c0858f23b51134e50609228ae622 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 4 Sep 2009 11:40:58 +0000 Subject: * numeric.c (round): added declaration. [ruby-dev:39222] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- numeric.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'numeric.c') diff --git a/numeric.c b/numeric.c index 7f74cde56..09a6ef329 100644 --- a/numeric.c +++ b/numeric.c @@ -63,6 +63,8 @@ #define DBL_EPSILON 2.2204460492503131e-16 #endif +extern double round(double); + #ifndef HAVE_ROUND double round(double x) @@ -79,9 +81,6 @@ round(double x) } return x; } -#elif defined(__BEOS__) -/* appears to be a bug in the BeOS headers */ -double round(double x); #endif static ID id_coerce, id_to_i, id_eq; -- cgit