From 4c8fa88e4da3afdcb48236a4317beb303c4bd955 Mon Sep 17 00:00:00 2001 From: Masamichi Hosoda Date: Thu, 16 Aug 2018 09:46:43 +0900 Subject: Remove unused NaN's integer representation definitions By previous commit, strto{d|ld} ("nan") does not use the definition of NaN. There is no other function that uses the definitions. This commit remove the definitions. --- newlib/libc/stdlib/strtorx.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'newlib/libc/stdlib/strtorx.c') diff --git a/newlib/libc/stdlib/strtorx.c b/newlib/libc/stdlib/strtorx.c index f923fdf..a35dabe 100644 --- a/newlib/libc/stdlib/strtorx.c +++ b/newlib/libc/stdlib/strtorx.c @@ -35,13 +35,9 @@ THIS SOFTWARE. #include #include "mprec.h" #include "gdtoa.h" -#include "gd_qnan.h" #if defined (_HAVE_LONG_DOUBLE) && !defined (_LDBL_EQ_DBL) -#undef _0 -#undef _1 - /* one or the other of IEEE_MC68k or IEEE_8087 should be #defined */ #ifdef IEEE_MC68k -- cgit v1.1