From: Jim Meyering Date: Thu, 27 Nov 2003 08:16:38 +0000 (+0000) Subject: Include "c-strtod.h". X-Git-Tag: v5.1.0~111 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b18b46eaefc05cc15e0cc13de57bd030f867d94;p=thirdparty%2Fcoreutils.git Include "c-strtod.h". (main): Update xstrtod call to include new argument, c_strtod. --- 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. */