diff --git a/src/math/lgamma.c b/src/math/lgamma.c index d8b85312b82494b8afcedc41c20590ee96a7ae78..e25ec8e600e149fa205802a4da49704a8bb4a3e6 100644 --- a/src/math/lgamma.c +++ b/src/math/lgamma.c @@ -1,4 +1,4 @@ -#include "libm.h" +#include extern int __signgam; double __lgamma_r(double, int *); @@ -7,6 +7,3 @@ double lgamma(double x) { return __lgamma_r(x, &__signgam); } - -// FIXME -//weak_alias(lgamma, gamma); diff --git a/src/math/lgammaf.c b/src/math/lgammaf.c index b3d996cf29ec42e810f549e4369bb20915ab9e4b..badb6dfec927c1fdf00a654bc088590d68002d60 100644 --- a/src/math/lgammaf.c +++ b/src/math/lgammaf.c @@ -1,4 +1,4 @@ -#include "libm.h" +#include extern int __signgam; float __lgammaf_r(float, int *); @@ -7,6 +7,3 @@ float lgammaf(float x) { return __lgammaf_r(x, &__signgam); } - -// FIXME -//weak_alias(lgammaf, gammaf); diff --git a/src/math/lgammal.c b/src/math/lgammal.c index 8fae1be81d0b09a6d7bf77c75a9ce53135545618..56d7866d53077ce6d31e24742f2acded73e06e54 100644 --- a/src/math/lgammal.c +++ b/src/math/lgammal.c @@ -89,6 +89,8 @@ #include "libm.h" #if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024 +double __lgamma_r(double x, int *sg); + long double __lgammal_r(long double x, int *sg) { return __lgamma_r(x, sg);