summaryrefslogtreecommitdiffstats
path: root/lib/msun/src
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2003-02-26 13:12:03 +0000
committerimp <imp@FreeBSD.org>2003-02-26 13:12:03 +0000
commitc054fa155d151298050c4758250efee250795a2b (patch)
tree8167ec66e7031c490aabbc6637bf33a833484227 /lib/msun/src
parent53f79e941fb01647f8b12f751a762c73b9ef3452 (diff)
downloadFreeBSD-src-c054fa155d151298050c4758250efee250795a2b.zip
FreeBSD-src-c054fa155d151298050c4758250efee250795a2b.tar.gz
- 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
Diffstat (limited to 'lib/msun/src')
-rw-r--r--lib/msun/src/math.h8
1 files changed, 4 insertions, 4 deletions
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 */
OpenPOWER on IntegriCloud