From 6d4adeb700840bab65165223e058ddc459cf07b8 Mon Sep 17 00:00:00 2001 From: "Gabriel F. T. Gomes" Date: Mon, 27 Mar 2017 16:23:58 -0300 Subject: Remove unneeded declarations from math_private.h The declarations of many functions in math_private.h are not required since __MATHDECL and __MATHDECLX, in math.h, already provide the declarations for these functions. This patch removes the declarations from math_private.h. It also adds the inclusion of math.h to the files which depended on the declaration of functions in math_private.h. Tested for powerpc64le and s390x. * sysdeps/generic/math_private.h: Remove declarations of many functions that are already declared in math.h. * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the declaration for __frexpl. * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get the declarations for __scalbnl and fabsl. --- sysdeps/ieee754/ldbl-128ibm/e_logl.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sysdeps/ieee754/ldbl-128ibm/e_logl.c') diff --git a/sysdeps/ieee754/ldbl-128ibm/e_logl.c b/sysdeps/ieee754/ldbl-128ibm/e_logl.c index 14acfc2db7..c44feca65b 100644 --- a/sysdeps/ieee754/ldbl-128ibm/e_logl.c +++ b/sysdeps/ieee754/ldbl-128ibm/e_logl.c @@ -58,6 +58,7 @@ License along with this library; if not, see . */ +#include #include /* log(1+x) = x - .5 x^2 + x^3 l(x) -- cgit 1.4.1