about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--ctype/ctype.h4
-rw-r--r--math/math.h2
-rw-r--r--math/tgmath.h2
-rw-r--r--wctype/wctype.h4
5 files changed, 12 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index a80f88a8bd..0f67468bee 100644
--- 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
diff --git a/ctype/ctype.h b/ctype/ctype.h
index 510b28ce3d..808e7bbf48 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 16dd0a5bbb..b171978a5c 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 aaf0f201c7..50d4d428ee 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 afed31e963..c85e5616bb 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'		      \