summaryrefslogtreecommitdiff
path: root/src/seq.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-11-27 08:14:39 +0000
committerJim Meyering <jim@meyering.net>2003-11-27 08:14:39 +0000
commit355848c4c8897314bbc0fea8ba71fa6adfc39665 (patch)
tree3869f67332bf47eeb618b83f9008e249eff2998c /src/seq.c
parentf2701c57580dc56ff8774b31640cb00a22217218 (diff)
downloadcoreutils-355848c4c8897314bbc0fea8ba71fa6adfc39665.tar.xz
Include "c-strtod.h".
(scan_double_arg): Update xstrtod call to include new argument, c_strtod.
Diffstat (limited to 'src/seq.c')
-rw-r--r--src/seq.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/seq.c b/src/seq.c
index d7a306887..f1f24a22b 100644
--- a/src/seq.c
+++ b/src/seq.c
@@ -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);