From 450f92eb7165131ff3fdb2f80ec2fc65254f5ccb Mon Sep 17 00:00:00 2001 From: "\"Steven J. Hill\"" Date: Fri, 2 Dec 2005 01:52:28 +0000 Subject: Merge from trunk. --- libc/stdlib/strtod.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libc/stdlib/strtod.c') diff --git a/libc/stdlib/strtod.c b/libc/stdlib/strtod.c index 9c76a2347..47f809f3e 100644 --- a/libc/stdlib/strtod.c +++ b/libc/stdlib/strtod.c @@ -152,7 +152,7 @@ #endif -extern void __fp_range_check(__fpmax_t y, __fpmax_t x); +extern void __fp_range_check(__fpmax_t y, __fpmax_t x) attribute_hidden; /**********************************************************************/ @@ -314,7 +314,7 @@ __fpmax_t __XL_NPP(__strtofpmax)(const Wchar *str, Wchar **endptr, int exponent_ goto LOOP; } #else - if (!pos0 && !memcmp(pos, decpt, decpt_len)) { /* First decimal point? */ + if (!pos0 && !__memcmp(pos, decpt, decpt_len)) { /* First decimal point? */ pos0 = (pos += decpt_len); goto LOOP; } @@ -491,7 +491,7 @@ __fpmax_t __XL_NPP(__strtofpmax)(const Wchar *str, Wchar **endptr, int exponent_ #ifdef L___fp_range_check #if defined(NEED_STRTOF_WRAPPER) || defined(NEED_STRTOD_WRAPPER) -extern void __fp_range_check(__fpmax_t y, __fpmax_t x) +void attribute_hidden __fp_range_check(__fpmax_t y, __fpmax_t x) { if (__FPMAX_ZERO_OR_INF_CHECK(y) /* y is 0 or +/- infinity */ && (y != 0) /* y is not 0 (could have x>0, y==0 if underflow) */ -- cgit v1.2.3