reduce spurious inclusion of libc.h
[musl] / src / math / lgamma.c
index d8b8531..2fc9b47 100644 (file)
@@ -1,12 +1,7 @@
+#include <math.h>
 #include "libm.h"
 
-extern int __signgam;
-double __lgamma_r(double, int *);
-
 double lgamma(double x)
 {
        return __lgamma_r(x, &__signgam);
 }
-
-// FIXME
-//weak_alias(lgamma, gamma);