This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: C99 headers namespace patch


"Joseph S. Myers" <jsm28@cam.ac.uk> writes:

> This patch fixes some of the trivial C99 namespace issues in the glibc
> headers previously reported.

 Sorry, maybe I missed something but...

> --- math/tgmath.h	Wed Aug  2 00:58:36 2000
> +++ math/tgmath.h.new	Sat Aug 19 18:30:52 2000
> @@ -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)

 The above looks like a source incompatible change, as gamma() exists
in my 2.1.3 headers.

-- 
James Antill -- james@and.org
"If we can't keep this sort of thing out of the kernel, we might as well
pack it up and go run Solaris." -- Larry McVoy.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]