summaryrefslogtreecommitdiff
path: root/src/math/lgammaf.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-03-16 21:16:32 -0400
committerRich Felker <dalias@aerifal.cx>2012-03-16 21:16:32 -0400
commitde7db6e927e568c52eaffeb51d7726a094ed0180 (patch)
tree8c144d5ad32b3061ce34a01eb5d346d5a409b95c /src/math/lgammaf.c
parent93a50a26cd0f9efc59cc83daae7b2d916b327ab1 (diff)
downloadmusl-de7db6e927e568c52eaffeb51d7726a094ed0180.tar.gz
fix namespace issues for lgamma, etc.
standard functions cannot depend on nonstandard symbols
Diffstat (limited to 'src/math/lgammaf.c')
-rw-r--r--src/math/lgammaf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/math/lgammaf.c b/src/math/lgammaf.c
index aed98ba4..93253534 100644
--- a/src/math/lgammaf.c
+++ b/src/math/lgammaf.c
@@ -1,9 +1,10 @@
-#define _GNU_SOURCE
#include "libm.h"
+float __lgammaf_r(float, int *);
+
float lgammaf(float x)
{
- return lgamma_r(x, &signgam);
+ return __lgammaf_r(x, &signgam);
}
// FIXME