summaryrefslogtreecommitdiff
path: root/include/stdlib.h
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-26 18:44:37 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-26 18:44:37 +0000
commit2f4829963a2619096ebba2be2ee950138006bb1f (patch)
treeb8cd513218a04f3b70b0e9d6358b84d5b2d58120 /include/stdlib.h
parent53f5379cb1863252aaf15020f6fb204fd5fbf93d (diff)
Enable gcvt in header, we build it
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 c3d8c7038..090465ab8 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -693,10 +693,11 @@ __END_NAMESPACE_C99
#endif
-#if 0 /* defined __USE_SVID || defined __USE_XOPEN_EXTENDED */
+#if defined __USE_SVID || defined __USE_XOPEN_EXTENDED
/* Convert floating point numbers to strings. The returned values are
valid only until another call to the same function. */
+#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
with the sign of the number. */
@@ -708,6 +709,7 @@ extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt,
the number. */
extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt,
int *__restrict __sign) __THROW __nonnull ((3, 4)) __wur;
+#endif
/* If possible convert VALUE to a string with NDIGIT significant digits.
Otherwise use exponential representation. The resulting string will
@@ -716,7 +718,7 @@ extern char *gcvt (double __value, int __ndigit, char *__buf)
__THROW __nonnull ((3)) __wur;
-# ifdef __USE_MISC
+# if 0 /*def __USE_MISC*/
/* Long double versions of above functions. */
extern char *qecvt (long double __value, int __ndigit,
int *__restrict __decpt, int *__restrict __sign)