[3/4] Remove __LIBC_INTERNAL_MATH_INLINES

Message ID 20200317190133.29644-3-adhemerval.zanella@linaro.org
State Dropped
Headers
Series [1/4] m68k: Remove mathinline.h |

Commit Message

Adhemerval Zanella March 17, 2020, 7:01 p.m. UTC
  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(-)
  

Comments

Andreas Schwab March 17, 2020, 8:52 p.m. UTC | #1
On Mär 17 2020, Adhemerval Zanella via Libc-alpha wrote:

> With m68k mathinline.h removal the flag is not used anymore.
>
> Checked with a m68k-linux-gnu build/check.

Ok.

Andreas.
  

Patch

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>