X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fsyntax-gen.c;fp=src%2Fui%2Fsyntax-gen.c;h=dca3bd3c5b3cb778dde442553cebd40c83c23152;hb=4881184f738deb7a4c5b843a361d4225f4e3d6c0;hp=52c40fa69d6cc83a58662b6a1d6a28354cd335df;hpb=60947ec119c619fc2076ad264d0843aaab3917d3;p=pspp diff --git a/src/ui/syntax-gen.c b/src/ui/syntax-gen.c index 52c40fa69d..dca3bd3c5b 100644 --- a/src/ui/syntax-gen.c +++ b/src/ui/syntax-gen.c @@ -30,6 +30,7 @@ #include "libpspp/i18n.h" #include "libpspp/message.h" #include "libpspp/str.h" +#include "libpspp/misc.h" #include "gl/ftoastr.h" @@ -176,7 +177,7 @@ syntax_gen_number (struct string *output, { char s[DBL_BUFSIZE_BOUND]; - dtoastr (s, sizeof s, 0, 0, number); + c_dtoastr (s, sizeof s, 0, 0, number); ds_put_cstr (output, s); } }