]> git.ipfire.org Git - thirdparty/glibc.git/commit
math: Remove __XXX math functions from installed math.h [BZ #32418]
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 5 Dec 2024 00:05:04 +0000 (08:05 +0800)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 12 Dec 2024 08:17:54 +0000 (16:17 +0800)
commit6bc301672bfbde618d4ec02e51e6e2cbadd4ac1e
tree2096ea0fbdc112af437303ca794ec851df5135e3
parent950891b5e7a5307272da3e632832ac9da4c9eeec
math: Remove __XXX math functions from installed math.h [BZ #32418]

Since libm doesn't export __XXX math functions, don't declare them in
the installed math.h by adding <bits/mathcalls-macros.h> to declare
__XXX math functions internally for glibc build.  This fixes BZ #32418.

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Reviewed-by: Sam James <sam@gentoo.org>
include/bits/mathcalls-macros.h [new file with mode: 0644]
include/math.h
math/Makefile
math/bits/mathcalls-macros.h [new file with mode: 0644]
math/math.h