Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2009-12-03 19:11:27 +0300
committerJeff Johnston <jjohnstn@redhat.com>2009-12-03 19:11:27 +0300
commitdf8d921e120e40f7f302292e0de438297bbcedf2 (patch)
tree384b825c30bc7471d87618d1f0b7aa8a5df77f9d /newlib/libc/stdlib
parent2bc3381e5c9922ba6013c8b8cc7809d49057d4d4 (diff)
2009-12-03 Craig Howland <howland@LGSInnovations.com>
* libc/stdlib/strtod.c: Correct "NO_REENT" to "_REENT_ONLY". * libc/stdlib/wcstod.c: Ditto. * libc/stdlib/dtoastub.c: Ditto.
Diffstat (limited to 'newlib/libc/stdlib')
-rw-r--r--newlib/libc/stdlib/dtoastub.c2
-rw-r--r--newlib/libc/stdlib/strtod.c2
-rw-r--r--newlib/libc/stdlib/wcstod.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/newlib/libc/stdlib/dtoastub.c b/newlib/libc/stdlib/dtoastub.c
index ff2b087f2..f4929f228 100644
--- a/newlib/libc/stdlib/dtoastub.c
+++ b/newlib/libc/stdlib/dtoastub.c
@@ -5,7 +5,7 @@
/* Nothing in newlib actually *calls* dtoa, they all call _dtoa_r, so this
is a safe way of providing it to the user. */
-#ifndef NO_REENT
+#ifndef _REENT_ONLY
char *
_DEFUN (__dtoa,
diff --git a/newlib/libc/stdlib/strtod.c b/newlib/libc/stdlib/strtod.c
index 755e6ec3c..1f68bc7b9 100644
--- a/newlib/libc/stdlib/strtod.c
+++ b/newlib/libc/stdlib/strtod.c
@@ -1164,7 +1164,7 @@ _DEFUN (_strtod_r, (ptr, s00, se),
return sign ? -dval(rv) : dval(rv);
}
-#ifndef NO_REENT
+#ifndef _REENT_ONLY
double
_DEFUN (strtod, (s00, se),
diff --git a/newlib/libc/stdlib/wcstod.c b/newlib/libc/stdlib/wcstod.c
index 6b8be5e73..d80454c8f 100644
--- a/newlib/libc/stdlib/wcstod.c
+++ b/newlib/libc/stdlib/wcstod.c
@@ -207,7 +207,7 @@ _DEFUN (_wcstof_r, (ptr, nptr, endptr),
return (float)retval;
}
-#ifndef NO_REENT
+#ifndef _REENT_ONLY
double
_DEFUN (wcstod, (nptr, endptr),