aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdlib/strtorx.c
diff options
context:
space:
mode:
authorMasamichi Hosoda <trueroad@trueroad.jp>2018-08-16 09:46:43 +0900
committerCorinna Vinschen <corinna@vinschen.de>2018-08-16 13:17:44 +0200
commit4c8fa88e4da3afdcb48236a4317beb303c4bd955 (patch)
treeeae520263af52556952e7c8ec38ddbbebe9bfc05 /newlib/libc/stdlib/strtorx.c
parent6c212a8b7873703c4f98c6b68579b234918be83a (diff)
downloadnewlib-4c8fa88e4da3afdcb48236a4317beb303c4bd955.zip
newlib-4c8fa88e4da3afdcb48236a4317beb303c4bd955.tar.gz
newlib-4c8fa88e4da3afdcb48236a4317beb303c4bd955.tar.bz2
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.
Diffstat (limited to 'newlib/libc/stdlib/strtorx.c')
-rw-r--r--newlib/libc/stdlib/strtorx.c4
1 files changed, 0 insertions, 4 deletions
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 <string.h>
#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