From fd6b9378be20243eaea7da1c2ddb3d68f123d28e Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 12 Jun 2002 21:59:00 +0000 Subject: Cleanup the mess, remove now obsolete files -Erik --- libc/string/strcasecmp.c | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 libc/string/strcasecmp.c (limited to 'libc/string/strcasecmp.c') diff --git a/libc/string/strcasecmp.c b/libc/string/strcasecmp.c deleted file mode 100644 index bae659450..000000000 --- a/libc/string/strcasecmp.c +++ /dev/null @@ -1,35 +0,0 @@ -/* - * strcasecmp for uClibc - * Copyright (C) 2002 by Brian Stafford - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU Library General Public License as published by - * the Free Software Foundation; either version 2 of the License, or (at your - * option) any later version. - * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License - * for more details. - * - * You should have received a copy of the GNU Library General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#include -#include - -int strcasecmp (const char *a, const char *b) -{ - register int n; - - while (*a == *b || (n = tolower (*a) - tolower (*b)) == 0) - { - if (*a == '\0') - return 0; - a++, b++; - } - return n; -} - -- cgit v1.2.3