diff options
author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-12-02 01:52:28 +0000 |
---|---|---|
committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-12-02 01:52:28 +0000 |
commit | 450f92eb7165131ff3fdb2f80ec2fc65254f5ccb (patch) | |
tree | 4a0260d6717520379b98af80419feda2ca7cea29 /libc/stdlib/strtod.c | |
parent | 6fd3ac79613c9e1832513b0f614860be2735993f (diff) | |
download | uClibc-alpine-450f92eb7165131ff3fdb2f80ec2fc65254f5ccb.tar.bz2 uClibc-alpine-450f92eb7165131ff3fdb2f80ec2fc65254f5ccb.tar.xz |
Merge from trunk.
Diffstat (limited to 'libc/stdlib/strtod.c')
-rw-r--r-- | libc/stdlib/strtod.c | 6 |
1 files changed, 3 insertions, 3 deletions
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) */ |