From: Jim Meyering Date: Mon, 7 Aug 1995 16:06:43 +0000 (+0000) Subject: (is_number): Rename from isnumber. X-Git-Tag: SH-UTILS-1_12a~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9c3f1711e250d6e1fc547702c5ab1bf94bbcea6a;p=thirdparty%2Fcoreutils.git (is_number): Rename from isnumber. --- diff --git a/src/spline.c b/src/spline.c index fb6a8627a7..4ce9e0366f 100644 --- a/src/spline.c +++ b/src/spline.c @@ -394,8 +394,8 @@ char *str; ++s; type = OPTION; } - else if (isnumber(s)) { - while (isnumber(s)) + else if (is_number(s)) { + while (is_number(s)) *str++ = *s++; *str = '\0'; type = NUMBER; @@ -409,8 +409,8 @@ char *str; return(type); } -/* isnumber -- Return TRUE if argument is the ASCII representation of a number. */ -isnumber(string) +/* is_number -- Return TRUE if argument is the ASCII representation of a number. */ +is_number(string) char *string; { if (isdigit(*string) ||