[PATCH 3/4] Remove __LIBC_INTERNAL_MATH_INLINES
Adhemerval Zanella
adhemerval.zanella@linaro.org
Tue Mar 17 19:01:32 GMT 2020
With m68k mathinline.h removal the flag is not used anymore.
Checked with a m68k-linux-gnu build/check.
---
math/Makefile | 2 +-
math/test-math-inline.h | 1 -
math/test-signgam-main.c | 1 -
3 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/math/Makefile b/math/Makefile
index 2a5f8bf353..cf92aa772d 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -643,7 +643,7 @@ include $(o-iterator)
# We don't want the fdlibm code to use the inline math functions,
# only the fdlibm code.
-math-CPPFLAGS += -D__NO_MATH_INLINES -D__LIBC_INTERNAL_MATH_INLINES
+math-CPPFLAGS += -D__NO_MATH_INLINES
ifneq ($(long-double-fcts),yes)
# The `double' and `long double' types are the same on this machine.
diff --git a/math/test-math-inline.h b/math/test-math-inline.h
index 755be44f35..c522236e3e 100644
--- a/math/test-math-inline.h
+++ b/math/test-math-inline.h
@@ -20,7 +20,6 @@
#define TEST_ERRNO 0
#define TEST_EXCEPTIONS 0
-#undef __LIBC_INTERNAL_MATH_INLINES
#ifdef __NO_MATH_INLINES
# undef __NO_MATH_INLINES
#endif
diff --git a/math/test-signgam-main.c b/math/test-signgam-main.c
index b36e942c9b..19ca2bc7af 100644
--- a/math/test-signgam-main.c
+++ b/math/test-signgam-main.c
@@ -17,7 +17,6 @@
<https://www.gnu.org/licenses/>. */
#undef _LIBC
-#undef __LIBC_INTERNAL_MATH_INLINES
#undef _GNU_SOURCE
#include <math.h>
--
2.17.1
More information about the Libc-alpha
mailing list