int
-uprf (char *c1, char *c2)
+uprf (const char *c1, const char *c2)
{
int c, mask;
{
c &= 0xff;
mask = *c1 & 0xff;
- c = (isalpha(c) && isupper(c)) ? tolower(c) : c;
- mask = (isalpha(mask) && isupper(mask)) ? tolower(mask) : mask;
+ c = tolower(c);
+ mask = tolower(mask);
if (c != mask)
return 0;
- else
- c1++;
+ c1++;
}
return 1;
}