This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.25-199-g6d4adeb


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  6d4adeb700840bab65165223e058ddc459cf07b8 (commit)
      from  9ace4692b2fa96c1c92177bb51e5e36680de25ad (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=6d4adeb700840bab65165223e058ddc459cf07b8

commit 6d4adeb700840bab65165223e058ddc459cf07b8
Author: Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
Date:   Mon Mar 27 16:23:58 2017 -0300

    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.

diff --git a/ChangeLog b/ChangeLog
index b7c2baf..134da60 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2017-04-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
+
+	* 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.
+
 2017-04-09  Dmitry V. Levin  <ldv@altlinux.org>
 
 	[BZ #20831]
diff --git a/sysdeps/generic/math_private.h b/sysdeps/generic/math_private.h
index 1103fa2..09117b7 100644
--- a/sysdeps/generic/math_private.h
+++ b/sysdeps/generic/math_private.h
@@ -319,26 +319,6 @@ extern void __kernel_sincosl (long double,long double,
 			      long double *,long double *, int);
 
 #ifndef NO_LONG_DOUBLE
-/* prototypes required to compile the ldbl-96 support without warnings */
-extern int __finitel (long double);
-extern int __ilogbl (long double);
-extern int __isinfl (long double);
-extern int __isnanl (long double);
-extern long double __atanl (long double);
-extern long double __copysignl (long double, long double);
-extern long double __expm1l (long double);
-extern long double __floorl (long double);
-extern long double __frexpl (long double, int *);
-extern long double __ldexpl (long double, int);
-extern long double __log1pl (long double);
-extern long double __nanl (const char *);
-extern long double __rintl (long double);
-extern long double __scalbnl (long double, int);
-extern long double __sqrtl (long double x);
-extern long double fabsl (long double x);
-extern void __sincosl (long double, long double *, long double *);
-extern long double __logbl (long double x);
-extern long double __significandl (long double x);
 
 extern inline long double __copysignl (long double x, long double y)
 { return __builtin_copysignl (x, y); }
diff --git a/sysdeps/ieee754/ldbl-128/e_logl.c b/sysdeps/ieee754/ldbl-128/e_logl.c
index 78061a9..8672047 100644
--- a/sysdeps/ieee754/ldbl-128/e_logl.c
+++ b/sysdeps/ieee754/ldbl-128/e_logl.c
@@ -58,6 +58,7 @@
     License along with this library; if not, see
     <http://www.gnu.org/licenses/>.  */
 
+#include <math.h>
 #include <math_private.h>
 
 /* log(1+x) = x - .5 x^2 + x^3 l(x)
diff --git a/sysdeps/ieee754/ldbl-128ibm/e_logl.c b/sysdeps/ieee754/ldbl-128ibm/e_logl.c
index 14acfc2..c44feca 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
     <http://www.gnu.org/licenses/>.  */
 
+#include <math.h>
 #include <math_private.h>
 
 /* log(1+x) = x - .5 x^2 + x^3 l(x)

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                            |    9 +++++++++
 sysdeps/generic/math_private.h       |   20 --------------------
 sysdeps/ieee754/ldbl-128/e_logl.c    |    1 +
 sysdeps/ieee754/ldbl-128ibm/e_logl.c |    1 +
 4 files changed, 11 insertions(+), 20 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]