From: Ulrich Drepper Date: Sun, 20 Aug 2000 08:37:13 +0000 (+0000) Subject: Update. X-Git-Tag: upstream/2.30~24810 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=00d8bc81a96ff398af9517f1ad49b729cc4795d1;p=external%2Fglibc.git Update. * 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 . --- diff --git a/ChangeLog b/ChangeLog index a80f88a..0f67468 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2000-08-20 Ulrich Drepper + * 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 . + * intl/loadmsgcat.c (_nl_unload_domain): Also free conv_tab element. Pretty printing. * intl/plural.y (new_exp): Take number of optional parameters in diff --git a/ctype/ctype.h b/ctype/ctype.h index 510b28c..808e7bb 100644 --- a/ctype/ctype.h +++ b/ctype/ctype.h @@ -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 diff --git a/math/math.h b/math/math.h index 16dd0a5..b171978 100644 --- a/math/math.h +++ b/math/math.h @@ -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 diff --git a/math/tgmath.h b/math/tgmath.h index aaf0f20..50d4d42 100644 --- a/math/tgmath.h +++ b/math/tgmath.h @@ -345,7 +345,7 @@ /* 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) diff --git a/wctype/wctype.h b/wctype/wctype.h index afed31e..c85e561 100644 --- a/wctype/wctype.h +++ b/wctype/wctype.h @@ -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' \