Include "c-strtod.h".

(scan_double_arg): Update xstrtod call to include new argument, c_strtod.
This commit is contained in:
Jim Meyering committed 2003-11-27 08:14:39 +00:00
1 parent f2701c5758
commit 355848c4c8
1 file changed
+2 -1
+2 -1
View File
@@ -24,6 +24,7 @@
#include <sys/types.h>
#include "system.h"
#include "c-strtod.h"
#include "error.h"
#include "xstrtol.h"
#include "xstrtod.h"
@@ -113,7 +114,7 @@ scan_double_arg (const char *arg)
{
double ret_val;
if (xstrtod (arg, NULL, &ret_val))
if (xstrtod (arg, NULL, &ret_val, c_strtod))
{
error (0, 0, _("invalid floating point argument: %s"), arg);
usage (EXIT_FAILURE);