From: Rich Felker Date: Sat, 17 Mar 2012 01:18:48 +0000 (-0400) Subject: make signgam a weak alias for an internal symbol X-Git-Tag: v0.8.7~10 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1a3dce4184895be87b32dcb7c891c5cb87d88a95;p=oweals%2Fmusl.git make signgam a weak alias for an internal symbol otherwise, the standard C lgamma function will clobber a symbol in the namespace reserved for the application. --- diff --git a/src/math/signgam.c b/src/math/signgam.c index 12cc32d7..b39ceb04 100644 --- a/src/math/signgam.c +++ b/src/math/signgam.c @@ -1,2 +1,5 @@ -#include -int signgam = 0; +#include "libm.h" + +int __signgam = 0; + +weak_alias(__signgam, signgam);