From c054fa155d151298050c4758250efee250795a2b Mon Sep 17 00:00:00 2001 From: imp Date: Wed, 26 Feb 2003 13:12:03 +0000 Subject: - gamma_r, lgamma_r, gammaf_r, and lgammaf_r were protected by _REENTRANT in math.h; the consensus here was that __BSD_VISIBLE was correct instead. - gamma_r, lgamma_r, gammaf_r, and lgammaf_r had no documentation in the lgamma(3) manpage. Reviewed by: standards@ Submitted by: Ben Mesander --- lib/msun/src/math.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/msun/src') diff --git a/lib/msun/src/math.h b/lib/msun/src/math.h index 2bb06c5..64cdac2 100644 --- a/lib/msun/src/math.h +++ b/lib/msun/src/math.h @@ -249,10 +249,10 @@ double log1p(double) __pure2; * Reentrant version of gamma & lgamma; passes signgam back by reference * as the second argument; user must allocate space for signgam. */ -#ifdef _REENTRANT +#ifdef __BSD_VISIBLE double gamma_r(double, int *); double lgamma_r(double, int *); -#endif /* _REENTRANT */ +#endif /* __BSD_VISIBLE */ /* float versions of ANSI/POSIX functions */ float acosf(float); @@ -330,10 +330,10 @@ float log1pf(float) __pure2; * signgam back by reference as the second argument; user must * allocate space for signgam. */ -#ifdef _REENTRANT +#ifdef __BSD_VISIBLE float gammaf_r(float, int *); float lgammaf_r(float, int *); -#endif /* _REENTRANT */ +#endif /* __BSD_VISIBLE */ #endif /* !_XOPEN_SOURCE */ #endif /* !_ANSI_SOURCE && !_POSIX_SOURCE */ -- cgit v1.1