From 8e092217dd92ad3e95257255602c711b3304e38f Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sat, 17 Mar 2012 21:48:48 -0400 Subject: 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. --- include/math.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include') 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*); -- cgit v1.2.1