From 9c3f1711e250d6e1fc547702c5ab1bf94bbcea6a Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 7 Aug 1995 16:06:43 +0000 Subject: [PATCH] (is_number): Rename from isnumber. --- src/spline.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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) || -- 2.47.3