Skip to content

Commit

Permalink
dtoa_nlw2() for linking #30
Browse files Browse the repository at this point in the history
  • Loading branch information
glebbelov committed Feb 23, 2024
1 parent 5fac818 commit 3980140
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nl-writer2/src/dtoa.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 3980140

Please sign in to comment.