* 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>.
This commit is contained in:
Ulrich Drepper 2000-08-20 08:37:13 +00:00
parent 2f599545f5
commit 00d8bc81a9
5 changed files with 12 additions and 6 deletions

View File

@ -1,5 +1,11 @@
2000-08-20 Ulrich Drepper <drepper@redhat.com> 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. * intl/loadmsgcat.c (_nl_unload_domain): Also free conv_tab element.
Pretty printing. Pretty printing.
* intl/plural.y (new_exp): Take number of optional parameters in * intl/plural.y (new_exp): Take number of optional parameters in

View File

@ -100,7 +100,7 @@ __exctype (isspace);
__exctype (isupper); __exctype (isupper);
__exctype (isxdigit); __exctype (isxdigit);
#ifdef __USE_GNU #ifdef __USE_ISOC99
__exctype (isblank); __exctype (isblank);
#endif #endif
@ -159,7 +159,7 @@ __exctype (_tolower);
# define isupper(c) __isctype((c), _ISupper) # define isupper(c) __isctype((c), _ISupper)
# define isxdigit(c) __isctype((c), _ISxdigit) # define isxdigit(c) __isctype((c), _ISxdigit)
# ifdef __USE_GNU # ifdef __USE_ISOC99
# define isblank(c) __isctype((c), _ISblank) # define isblank(c) __isctype((c), _ISblank)
# endif # endif

View File

@ -108,7 +108,7 @@ __BEGIN_DECLS
#undef __MATHCALL #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'. */ /* This variable is used by `gamma' and `lgamma'. */
extern int signgam; extern int signgam;
#endif #endif

View File

@ -345,7 +345,7 @@
/* Error and gamma functions. */ /* Error and gamma functions. */
#define erf(Val) __TGMATH_UNARY_REAL_ONLY (Val, erf) #define erf(Val) __TGMATH_UNARY_REAL_ONLY (Val, erf)
#define erfc(Val) __TGMATH_UNARY_REAL_ONLY (Val, erfc) #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) #define lgamma(Val) __TGMATH_UNARY_REAL_ONLY (Val, lgamma)

View File

@ -165,7 +165,7 @@ extern int iswxdigit (wint_t __wc) __THROW;
/* Test for any wide character that corresponds to a standard blank /* Test for any wide character that corresponds to a standard blank
wide character or a locale-specific set of wide characters for wide character or a locale-specific set of wide characters for
which `iswalnum' is false. */ which `iswalnum' is false. */
# ifdef __USE_GNU # ifdef __USE_ISOC99
extern int iswblank (wint_t __wc) __THROW; extern int iswblank (wint_t __wc) __THROW;
# endif # endif
@ -233,7 +233,7 @@ extern unsigned int *__ctype32_b;
(__builtin_constant_p (wc) && (wint_t) (wc) <= L'\xff' \ (__builtin_constant_p (wc) && (wint_t) (wc) <= L'\xff' \
? (int) (__ctype32_b[(wint_t) (wc)] & _ISwxdigit) : iswxdigit (wc))) ? (int) (__ctype32_b[(wint_t) (wc)] & _ISwxdigit) : iswxdigit (wc)))
# ifdef __USE_GNU # ifdef __USE_ISOC99
# define iswblank(wc) \ # define iswblank(wc) \
(__extension__ \ (__extension__ \
(__builtin_constant_p (wc) && (wint_t) (wc) <= L'\xff' \ (__builtin_constant_p (wc) && (wint_t) (wc) <= L'\xff' \