* stdlib/bits/stdlib-ldbl.h (qecvt, qfcvt, qgcvt, qecvt_r, qfcvt_r):
authorRoland McGrath <roland@gnu.org>
Fri, 3 Feb 2006 19:16:04 +0000 (19:16 +0000)
committerRoland McGrath <roland@gnu.org>
Fri, 3 Feb 2006 19:16:04 +0000 (19:16 +0000)
Guard with [__USE_SVID || __USE_XOPEN_EXTENDED].

* math/math.h [__LDBL_COMPAT && __USE_ISOC99] (nexttowardl): New
prototype.

* math/math.h (__nldbl_nexttowardf): Put __THROW before
__attribute__ ((__const__)).
(__MATHDECL_2): Use __REDIRECT_NTH instead of __REDIRECT
followed by __THROW.

ChangeLog
stdlib/bits/stdlib-ldbl.h

index 9959a91..3f5c3aa 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2006-02-03  Jakub Jelinek  <jakub@redhat.com>
+
+       * stdlib/bits/stdlib-ldbl.h (qecvt, qfcvt, qgcvt, qecvt_r, qfcvt_r):
+       Guard with [__USE_SVID || __USE_XOPEN_EXTENDED].
+
+       * math/math.h [__LDBL_COMPAT && __USE_ISOC99] (nexttowardl): New
+       prototype.
+
+       * math/math.h (__nldbl_nexttowardf): Put __THROW before
+       __attribute__ ((__const__)).
+       (__MATHDECL_2): Use __REDIRECT_NTH instead of __REDIRECT
+       followed by __THROW.
+
 2006-02-02  Ulrich Drepper  <drepper@redhat.com>
 
        * sysdeps/unix/sysv/linux/futimesat.c [__NR_futimesat]
index f966bd9..b197c57 100644 (file)
@@ -33,10 +33,12 @@ __LDBL_REDIR1_DECL (strtold_l, strtod_l)
 
 __LDBL_REDIR1_DECL (__strtold_internal, __strtod_internal)
 
-#ifdef __USE_MISC
+#if defined __USE_SVID || defined __USE_XOPEN_EXTENDED
+# ifdef __USE_MISC
 __LDBL_REDIR1_DECL (qecvt, ecvt)
 __LDBL_REDIR1_DECL (qfcvt, fcvt)
 __LDBL_REDIR1_DECL (qgcvt, gcvt)
 __LDBL_REDIR1_DECL (qecvt_r, ecvt_r)
 __LDBL_REDIR1_DECL (qfcvt_r, fcvt_r)
+# endif
 #endif