From 79ed9768d5c3194b8820551575c2862e80825b3d Mon Sep 17 00:00:00 2001 From: mar Date: Wed, 2 May 1990 13:12:11 +0000 Subject: [PATCH 1/1] punt cistrcmp() --- lib/strs.c | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/lib/strs.c b/lib/strs.c index 692dd100..88b01786 100644 --- a/lib/strs.c +++ b/lib/strs.c @@ -73,21 +73,3 @@ char *strtrim(save) *t = '\0'; return s; } - -/* - * Case insensitive string compare. - */ - -int cistrcmp(cp1, cp2) - char *cp1, *cp2; -{ - register int c1, c2; - - do { - if (isupper(c1 = (*cp1++))) c1 = tolower(c1); - if (isupper(c2 = (*cp2++))) c2 = tolower(c2); - if (c1 != c2) return c1-c2; - } while (c1 && c2); - return 0; -} - -- 2.45.2