Include "c-strtod.h".

(main): Update xstrtod call to include new argument, c_strtod.
This commit is contained in:
Jim Meyering committed 2003-11-27 08:16:38 +00:00
1 parent 355848c4c8
commit 6b18b46eae
1 file changed
+2 -1
+2 -1
View File
@@ -22,6 +22,7 @@
#include <getopt.h>
#include "system.h"
#include "c-strtod.h"
#include "error.h"
#include "long-options.h"
#include "xnanosleep.h"
@@ -144,7 +145,7 @@ main (int argc, char **argv)
{
double s;
const char *p;
if (xstrtod (argv[i], &p, &s)
if (xstrtod (argv[i], &p, &s, c_strtod)
/* Nonnegative interval. */
|| ! (0 <= s)
/* No extra chars after the number and an optional s,m,h,d char. */