From 86216323af536f1d324798a01a58e39b05cbb5d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Sun, 11 Dec 2011 12:28:53 +0100 Subject: [PATCH] Fixed math.h part of #2696 * added lgammal_r wrapper * removed gamma_r and gammaf_r functions from math.h --- headers/posix/math.h | 2 -- src/system/libroot/posix/glibc/arch/x86/Jamfile | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/headers/posix/math.h b/headers/posix/math.h index 789aff023d..1089c05d83 100644 --- a/headers/posix/math.h +++ b/headers/posix/math.h @@ -269,7 +269,6 @@ extern long double tgammal(long double x); extern long double truncl(long double x); /* some BSD non-ANSI or POSIX math functions */ -extern double gamma_r(double x, int *y); extern double j0(double x); extern double j1(double x); extern double jn(int x, double y); @@ -293,7 +292,6 @@ extern float jnf(int x, float y); extern float y0f(float x); extern float y1f(float x); extern float ynf(int x, float y); -extern float gammaf_r(float x, int *y); extern float lgammaf_r(float x, int *y); diff --git a/src/system/libroot/posix/glibc/arch/x86/Jamfile b/src/system/libroot/posix/glibc/arch/x86/Jamfile index ebd9e30afc..59fa2143a5 100644 --- a/src/system/libroot/posix/glibc/arch/x86/Jamfile +++ b/src/system/libroot/posix/glibc/arch/x86/Jamfile @@ -87,8 +87,8 @@ local genericSources = w_j0.c w_j0f.c w_j1.c w_j1f.c w_jn.c w_jnf.c - w_lgamma.c w_lgammaf.c - w_lgamma_r.c w_lgammaf_r.c + w_lgamma.c w_lgammaf.c w_lgammal.c + w_lgamma_r.c w_lgammaf_r.c w_lgammal_r.c w_log.c w_logf.c w_logl.c w_log10.c w_log10f.c w_log10l.c w_log2.c w_log2f.c w_log2l.c