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/lgamma_r.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/math/lgamma_r.c') 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); -- cgit 1.4.1