From de7db6e927e568c52eaffeb51d7726a094ed0180 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Fri, 16 Mar 2012 21:16:32 -0400 Subject: fix namespace issues for lgamma, etc. standard functions cannot depend on nonstandard symbols --- src/math/lgammaf_r.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/math/lgammaf_r.c') diff --git a/src/math/lgammaf_r.c b/src/math/lgammaf_r.c index c6280f5b..f1adcf69 100644 --- a/src/math/lgammaf_r.c +++ b/src/math/lgammaf_r.c @@ -134,7 +134,7 @@ static float sin_pif(float x) } -float lgammaf_r(float x, int *signgamp) +float __lgammaf_r(float x, int *signgamp) { float t,y,z,nadj,p,p1,p2,p3,q,r,w; int32_t hx; @@ -248,3 +248,5 @@ float lgammaf_r(float x, int *signgamp) r = nadj - r; return r; } + +weak_alias(__lgammaf_r, lgammaf_r); -- cgit v1.2.3