From 6b18b46eaefc05cc15e0cc13de57bd030f867d94 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 27 Nov 2003 08:16:38 +0000 Subject: [PATCH] Include "c-strtod.h". (main): Update xstrtod call to include new argument, c_strtod. --- src/sleep.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/sleep.c b/src/sleep.c index 9c96ab38de..0565c97685 100644 --- a/src/sleep.c +++ b/src/sleep.c @@ -22,6 +22,7 @@ #include #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. */ -- 2.47.2