aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdlib/dtoa.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdlib/dtoa.c')
-rw-r--r--newlib/libc/stdlib/dtoa.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/newlib/libc/stdlib/dtoa.c b/newlib/libc/stdlib/dtoa.c
index e47a8bc..198fa66 100644
--- a/newlib/libc/stdlib/dtoa.c
+++ b/newlib/libc/stdlib/dtoa.c
@@ -32,6 +32,11 @@
#include <string.h>
#include "mprec.h"
+#ifdef _REENT_THREAD_LOCAL
+_Thread_local struct _Bigint *_tls_mp_result;
+_Thread_local int _tls_mp_result_k;
+#endif
+
static int
quorem (_Bigint * b, _Bigint * S)
{