From: Rich Felker Date: Sat, 17 Mar 2012 01:20:53 +0000 (-0400) Subject: other side of the signgam namespace fix: use the internal name X-Git-Tag: v0.8.7~9 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8c071f872b2844ca297275176047f8d23eec96a7;p=oweals%2Fmusl.git other side of the signgam namespace fix: use the internal name --- diff --git a/src/math/lgamma.c b/src/math/lgamma.c index 17b5aff0..d8b85312 100644 --- a/src/math/lgamma.c +++ b/src/math/lgamma.c @@ -1,10 +1,11 @@ #include "libm.h" +extern int __signgam; double __lgamma_r(double, int *); double lgamma(double x) { - return __lgamma_r(x, &signgam); + return __lgamma_r(x, &__signgam); } // FIXME diff --git a/src/math/lgammaf.c b/src/math/lgammaf.c index 93253534..b3d996cf 100644 --- a/src/math/lgammaf.c +++ b/src/math/lgammaf.c @@ -1,10 +1,11 @@ #include "libm.h" +extern int __signgam; float __lgammaf_r(float, int *); float lgammaf(float x) { - return __lgammaf_r(x, &signgam); + return __lgammaf_r(x, &__signgam); } // FIXME diff --git a/src/math/lgammal.c b/src/math/lgammal.c index 5dd851a6..ec7c9a04 100644 --- a/src/math/lgammal.c +++ b/src/math/lgammal.c @@ -388,9 +388,11 @@ long double __lgammal_r(long double x, int *sg) { } #endif +extern int __signgam; + long double lgammal(long double x) { - return __lgammal_r(x, &signgam); + return __lgammal_r(x, &__signgam); } weak_alias(__lgammal_r, lgammal_r);