summaryrefslogtreecommitdiff
path: root/src/math/lgamma.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-03-16 21:20:53 -0400
committerRich Felker <dalias@aerifal.cx>2012-03-16 21:20:53 -0400
commit8c071f872b2844ca297275176047f8d23eec96a7 (patch)
tree82206c8781f2c07c9b59e805e758550b3797607b /src/math/lgamma.c
parent1a3dce4184895be87b32dcb7c891c5cb87d88a95 (diff)
downloadmusl-8c071f872b2844ca297275176047f8d23eec96a7.tar.gz
other side of the signgam namespace fix: use the internal name
Diffstat (limited to 'src/math/lgamma.c')
-rw-r--r--src/math/lgamma.c3
1 files changed, 2 insertions, 1 deletions
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