From 398014058f54658df1bd76c18019a32a58ee98bc Mon Sep 17 00:00:00 2001 From: Gleb Belov Date: Fri, 23 Feb 2024 15:49:09 +1100 Subject: [PATCH] dtoa_nlw2() for linking #30 --- nl-writer2/src/dtoa.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nl-writer2/src/dtoa.cc b/nl-writer2/src/dtoa.cc index f61213b88..534df3feb 100644 --- a/nl-writer2/src/dtoa.cc +++ b/nl-writer2/src/dtoa.cc @@ -1506,7 +1506,7 @@ static unsigned int maxthreads = 0; #ifdef __cplusplus extern "C" double strtod(const char *s00, char **se); -extern "C" char *dtoa(double d, int mode, int ndigits, +extern "C" char *dtoa_nlw2(double d, int mode, int ndigits, int *decpt, int *sign, char **rve); #endif @@ -6191,7 +6191,7 @@ dtoa_r_dmgay(double dd, int mode, int ndigits, int *decpt, int *sign, char **rve } char * -dtoa(double dd, int mode, int ndigits, int *decpt, int *sign, char **rve) +dtoa_nlw2(double dd, int mode, int ndigits, int *decpt, int *sign, char **rve) { /* Sufficient space is allocated to the return value to hold the suppressed trailing zeros.