util-symbol-renaming-and-cleanup-20030309
[openafs.git] / src / util / isathing.c
index e97f4fe..cb669fd 100644 (file)
@@ -15,16 +15,14 @@ RCSID("$Header$");
 #include <ctype.h>
 
 /* checks a string to determine whether it's a non-negative decimal integer or not */
-int
-isint (str)
-char *str;
+int util_isint(char *str)
 {
-char *i;
+    char *i;
 
-for (i=str; *i && !isspace(*i); i++) {
-    if (!isdigit(*i))
-      return 0;
-  }
+    for (i=str; *i && !isspace(*i); i++) {
+       if (!isdigit(*i))
+           return 0;
+    }
 
-return 1;
+    return 1;
 }