about summary refs log tree commit diff
diff options
context:
space:
mode:
authornsz <nsz@port70.net>2012-03-27 22:12:20 +0200
committernsz <nsz@port70.net>2012-03-27 22:12:20 +0200
commit1b229a2098a35795aa20bd09b8c81c5143e64277 (patch)
tree5fca9279bba2ea0ea6c3dc9cd3d832abea25607c
parentad23771c32e5a125eae711ab644cf672e4896c76 (diff)
downloadmusl-1b229a2098a35795aa20bd09b8c81c5143e64277.tar.gz
musl-1b229a2098a35795aa20bd09b8c81c5143e64277.tar.xz
musl-1b229a2098a35795aa20bd09b8c81c5143e64277.zip
math: remove comment about aliasing lgamma as gamma
It is probably not worth supporting gamma.
(it was already deprecated in 4.3BSD)
-rw-r--r--src/math/lgamma.c5
-rw-r--r--src/math/lgammaf.c5
-rw-r--r--src/math/lgammal.c2
3 files changed, 4 insertions, 8 deletions
diff --git a/src/math/lgamma.c b/src/math/lgamma.c
index d8b85312..e25ec8e6 100644
--- a/src/math/lgamma.c
+++ b/src/math/lgamma.c
@@ -1,4 +1,4 @@
-#include "libm.h"
+#include <math.h>
 
 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 b3d996cf..badb6dfe 100644
--- a/src/math/lgammaf.c
+++ b/src/math/lgammaf.c
@@ -1,4 +1,4 @@
-#include "libm.h"
+#include <math.h>
 
 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 8fae1be8..56d7866d 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);