]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(is_number): Rename from isnumber.
authorJim Meyering <jim@meyering.net>
Mon, 7 Aug 1995 16:06:43 +0000 (16:06 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 7 Aug 1995 16:06:43 +0000 (16:06 +0000)
src/spline.c

index fb6a8627a71942f49a6d10acde473652654d2f0f..4ce9e0366f48ce6bf8e02729cfe13546b6d7035e 100644 (file)
@@ -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) ||