* math/bits/mathcalls.h: Guard __END_NAMESPACE_C99 with the
authorRoland McGrath <roland@gnu.org>
Wed, 1 Feb 2006 19:45:29 +0000 (19:45 +0000)
committerRoland McGrath <roland@gnu.org>
Wed, 1 Feb 2006 19:45:29 +0000 (19:45 +0000)
same #if condition as corresponding __BEGIN_NAMESPACE_C99.
(scalb): Don't define only if __USE_ISOC99.

ChangeLog
math/bits/mathcalls.h

index d0d6db4..019c3a8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2006-02-01  Jakub Jelinek  <jakub@redhat.com>
 
+       * math/bits/mathcalls.h: Guard __END_NAMESPACE_C99 with the
+       same #if condition as corresponding __BEGIN_NAMESPACE_C99.
+       (scalb): Don't define only if __USE_ISOC99.
+
        * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Fix a typo.
        * sysdeps/s390/fpu/libm-test-ulps: Remove llrint ulps.
 
index 174fe34..64da627 100644 (file)
@@ -353,10 +353,13 @@ __MATHDECL_1 (int, __signbit,, (_Mdouble_ __value))
 
 /* Multiply-add function computed as a ternary operation.  */
 __MATHCALL (fma,, (_Mdouble_ __x, _Mdouble_ __y, _Mdouble_ __z));
+#endif /* Use ISO C99.  */
+
+#if defined __USE_MISC || defined __USE_XOPEN_EXTENDED || defined __USE_ISOC99
 __END_NAMESPACE_C99
+#endif
 
-# if defined __USE_MISC || defined __USE_XOPEN_EXTENDED
+#if defined __USE_MISC || defined __USE_XOPEN_EXTENDED
 /* Return X times (2 to the Nth power).  */
 __MATHCALL (scalb,, (_Mdouble_ __x, _Mdouble_ __n));
-# endif
-#endif /* Use ISO C99.  */
+#endif