remove spurious inclusion of libc.h for LFS64 ABI aliases
[musl] / src / math / lgamma.c
index 9af7eee..2fc9b47 100644 (file)
@@ -1,10 +1,7 @@
-#define _GNU_SOURCE
+#include <math.h>
 #include "libm.h"
 
 double lgamma(double x)
 {
-       return lgamma_r(x, &signgam);
+       return __lgamma_r(x, &__signgam);
 }
-
-// FIXME
-//weak_alias(lgamma, gamma);