Update.
authorUlrich Drepper <drepper@redhat.com>
Sun, 20 Aug 2000 08:37:13 +0000 (08:37 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sun, 20 Aug 2000 08:37:13 +0000 (08:37 +0000)
* ctype/ctype.h (isblank): Make available if ISO C99.
* wctype/wctype.h (iswblank): Make available if ISO C99.
* math/math.h (signgam): Don't make available if ISO C99.
* math/tgmath.h (tgamma): Renamed from gamma.
Patches by Joseph S. Myers <jsm28@cam.ac.uk>.

ChangeLog
ctype/ctype.h
math/math.h
math/tgmath.h
wctype/wctype.h

index a80f88a..0f67468 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2000-08-20  Ulrich Drepper  <drepper@redhat.com>
 
+       * ctype/ctype.h (isblank): Make available if ISO C99.
+       * wctype/wctype.h (iswblank): Make available if ISO C99.
+       * math/math.h (signgam): Don't make available if ISO C99.
+       * math/tgmath.h (tgamma): Renamed from gamma.
+       Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
+
        * intl/loadmsgcat.c (_nl_unload_domain): Also free conv_tab element.
        Pretty printing.
        * intl/plural.y (new_exp): Take number of optional parameters in
index 510b28c..808e7bb 100644 (file)
@@ -100,7 +100,7 @@ __exctype (isspace);
 __exctype (isupper);
 __exctype (isxdigit);
 
-#ifdef __USE_GNU
+#ifdef __USE_ISOC99
 __exctype (isblank);
 #endif
 
@@ -159,7 +159,7 @@ __exctype (_tolower);
 # define isupper(c)    __isctype((c), _ISupper)
 # define isxdigit(c)   __isctype((c), _ISxdigit)
 
-# ifdef        __USE_GNU
+# ifdef        __USE_ISOC99
 #  define isblank(c)   __isctype((c), _ISblank)
 # endif
 
index 16dd0a5..b171978 100644 (file)
@@ -108,7 +108,7 @@ __BEGIN_DECLS
 #undef __MATHCALL
 
 
-#if defined __USE_MISC || defined __USE_XOPEN || defined __USE_ISOC99
+#if defined __USE_MISC || defined __USE_XOPEN
 /* This variable is used by `gamma' and `lgamma'.  */
 extern int signgam;
 #endif
index aaf0f20..50d4d42 100644 (file)
 /* Error and gamma functions.  */
 #define erf(Val) __TGMATH_UNARY_REAL_ONLY (Val, erf)
 #define erfc(Val) __TGMATH_UNARY_REAL_ONLY (Val, erfc)
-#define gamma(Val) __TGMATH_UNARY_REAL_ONLY (Val, gamma)
+#define tgamma(Val) __TGMATH_UNARY_REAL_ONLY (Val, tgamma)
 #define lgamma(Val) __TGMATH_UNARY_REAL_ONLY (Val, lgamma)
 
 
index afed31e..c85e561 100644 (file)
@@ -165,7 +165,7 @@ extern int iswxdigit (wint_t __wc) __THROW;
 /* Test for any wide character that corresponds to a standard blank
    wide character or a locale-specific set of wide characters for
    which `iswalnum' is false.  */
-# ifdef __USE_GNU
+# ifdef __USE_ISOC99
 extern int iswblank (wint_t __wc) __THROW;
 # endif
 
@@ -233,7 +233,7 @@ extern unsigned int *__ctype32_b;
     (__builtin_constant_p (wc) && (wint_t) (wc) <= L'\xff'                   \
      ? (int) (__ctype32_b[(wint_t) (wc)] & _ISwxdigit) : iswxdigit (wc)))
 
-# ifdef __USE_GNU
+# ifdef __USE_ISOC99
 #  define iswblank(wc) \
   (__extension__                                                             \
     (__builtin_constant_p (wc) && (wint_t) (wc) <= L'\xff'                   \