summaryrefslogtreecommitdiffstats
path: root/include/stdlib.h
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2007-01-21 02:24:07 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2007-01-21 02:24:07 +0000
commitabfc5558bf4beb7dc381d93baaec4a9a3e4eba7b (patch)
tree8763531b221e50bbbafb457cc1688e9ab4175516 /include/stdlib.h
parent293cef1de02c36f58a48bcdbe2d385059ea04828 (diff)
downloaduClibc-alpine-abfc5558bf4beb7dc381d93baaec4a9a3e4eba7b.tar.bz2
uClibc-alpine-abfc5558bf4beb7dc381d93baaec4a9a3e4eba7b.tar.xz
More merging from trunk.
Diffstat (limited to 'include/stdlib.h')
-rw-r--r--include/stdlib.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/stdlib.h b/include/stdlib.h
index 3ed029c07..982bac72f 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -693,10 +693,12 @@ __END_NAMESPACE_C99
#endif
-#if defined __USE_SVID || defined __USE_XOPEN_EXTENDED
+#if defined __USE_SVID || defined __USE_XOPEN_EXTENDED || defined __USE_BSD
/* Convert floating point numbers to strings. The returned values are
valid only until another call to the same function. */
+# ifdef __UCLIBC_SUSV3_LEGACY__
+
#if 0
/* Convert VALUE to a string with NDIGIT digits and return a pointer to
this. Set *DECPT with the position of the decimal character and *SIGN
@@ -716,7 +718,7 @@ extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt,
be written to BUF. */
extern char *gcvt (double __value, int __ndigit, char *__buf)
__THROW __nonnull ((3)) __wur;
-
+# endif /* __UCLIBC_SUSV3_LEGACY__ */
# if 0 /*def __USE_MISC*/
/* Long double versions of above functions. */