about summary refs log tree commit diff
path: root/stdlib/stdlib.h
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2013-04-27 16:17:55 +0200
committerAndreas Jaeger <aj@suse.de>2013-04-27 16:21:53 +0200
commit4220c3ef773c0e7fff7c95ecd7cff69886fe4c0e (patch)
tree2a7ea4e779639d4272602408dd9581521cbfb1db /stdlib/stdlib.h
parent4721b2d1ca6df91ece96e629d8baa5501b75cdfe (diff)
downloadglibc-4220c3ef773c0e7fff7c95ecd7cff69886fe4c0e.tar.gz
glibc-4220c3ef773c0e7fff7c95ecd7cff69886fe4c0e.tar.xz
glibc-4220c3ef773c0e7fff7c95ecd7cff69886fe4c0e.zip
Fix guards for qecvt
	[BZ #15007]
	* stdlib/stdlib.h: Update guards for qecvt.
	* stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
	<stdlib.h>.
Diffstat (limited to 'stdlib/stdlib.h')
-rw-r--r--stdlib/stdlib.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/stdlib/stdlib.h b/stdlib/stdlib.h
index 4b839441c3..99a830dc14 100644
--- a/stdlib/stdlib.h
+++ b/stdlib/stdlib.h
@@ -823,9 +823,9 @@ 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
 
-
-# ifdef __USE_MISC
+#ifdef __USE_MISC
 /* Long double versions of above functions.  */
 extern char *qecvt (long double __value, int __ndigit,
 		    int *__restrict __decpt, int *__restrict __sign)
@@ -854,8 +854,7 @@ extern int qfcvt_r (long double __value, int __ndigit,
 		    int *__restrict __decpt, int *__restrict __sign,
 		    char *__restrict __buf, size_t __len)
      __THROW __nonnull ((3, 4, 5));
-# endif	/* misc */
-#endif	/* use MISC || use X/Open Unix */
+#endif	/* misc */
 
 
 __BEGIN_NAMESPACE_STD