path: root/include
diff options
authorRich Felker <>2012-03-17 21:48:48 -0400
committerRich Felker <>2012-03-17 21:48:48 -0400
commit8e092217dd92ad3e95257255602c711b3304e38f (patch)
treed55e53d3131a517faba0dead3a6645232f77f150 /include
parent65db6bf5ea1f27ec2cddd6423868baeff05cc719 (diff)
move nonstandard gamma() etc. to _GNU_SOURCE only
it's not even provided in the library at the moment, but could easily be provided with weak aliases if desired.
Diffstat (limited to 'include')
1 files changed, 4 insertions, 4 deletions
diff --git a/include/math.h b/include/math.h
index ec4afa78..e7220aeb 100644
--- a/include/math.h
+++ b/include/math.h
@@ -345,10 +345,6 @@ long double truncl(long double);
extern int signgam;
-double gamma(double);
-float gammaf(float);
-long double gammal(long double);
double j0(double);
double j1(double);
double jn(int, double);
@@ -367,6 +363,10 @@ void sincos(double, double*, double*);
void sincosf(float, float*, float*);
void sincosl(long double, long double*, long double*);
+double gamma(double);
+float gammaf(float);
+long double gammal(long double);
double lgamma_r(double, int*);
float lgammaf_r(float, int*);
long double lgammal_r(long double, int*);