-/*
- * Compare two strings, ignoring case.
- */
-
-icequal(s1, s2)
- register char *s1, *s2;
-{
- register c1, c2;
-
- for (;;) {
- if ((c1 = (unsigned char)*s1++) !=
- (c2 = (unsigned char)*s2++)) {
- if (isupper(c1))
- c1 = tolower(c1);
- if (c1 != c2)
- return 0;
- }
- if (c1 == 0)
- return 1;
- }
- /*NOTREACHED*/
-}
-