diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-03-16 21:16:32 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-03-16 21:16:32 -0400 |
commit | de7db6e927e568c52eaffeb51d7726a094ed0180 (patch) | |
tree | 8c144d5ad32b3061ce34a01eb5d346d5a409b95c /src/math/lgamma_r.c | |
parent | 93a50a26cd0f9efc59cc83daae7b2d916b327ab1 (diff) | |
download | musl-de7db6e927e568c52eaffeb51d7726a094ed0180.tar.gz musl-de7db6e927e568c52eaffeb51d7726a094ed0180.tar.bz2 musl-de7db6e927e568c52eaffeb51d7726a094ed0180.tar.xz musl-de7db6e927e568c52eaffeb51d7726a094ed0180.zip |
fix namespace issues for lgamma, etc.
standard functions cannot depend on nonstandard symbols
Diffstat (limited to 'src/math/lgamma_r.c')
-rw-r--r-- | src/math/lgamma_r.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/math/lgamma_r.c b/src/math/lgamma_r.c index 6baa0e52..a8ef1956 100644 --- a/src/math/lgamma_r.c +++ b/src/math/lgamma_r.c @@ -199,7 +199,7 @@ static double sin_pi(double x) } -double lgamma_r(double x, int *signgamp) +double __lgamma_r(double x, int *signgamp) { double t,y,z,nadj,p,p1,p2,p3,q,r,w; int32_t hx; @@ -313,3 +313,5 @@ double lgamma_r(double x, int *signgamp) r = nadj - r; return r; } + +weak_alias(__lgamma_r, lgamma_r); |