From 620c28a97504f1fc9ad72566693d98f2deb14227 Mon Sep 17 00:00:00 2001 From: Danny Smith Date: Thu, 15 May 2003 00:21:12 +0000 Subject: * string_old.c: Remove, splitting into... * strcasecmp.c: New file. * strncasecmp.c: New file. * wscmpi.c : New file. * ctype_old.c: Remove, splitting into... * isascii.c: New file. * iscsym.c: New file. * iscsymf.c: New file. * toascii.c: New file. * Makefile.in (MOLD_OBJS): Adjust. (SRCDIST_FILES): Adjust. --- winsup/mingw/string_old.c | 47 ----------------------------------------------- 1 file changed, 47 deletions(-) delete mode 100644 winsup/mingw/string_old.c (limited to 'winsup/mingw/string_old.c') diff --git a/winsup/mingw/string_old.c b/winsup/mingw/string_old.c deleted file mode 100644 index c1baeb47e..000000000 --- a/winsup/mingw/string_old.c +++ /dev/null @@ -1,47 +0,0 @@ -/* - * string_old.c - * - * Oldnames from ANSI header string.h - * - * Some wrapper functions for those old name functions whose appropriate - * equivalents are not simply underscore prefixed. - * - * Contributors: - * Created by Colin Peters - * - * THIS SOFTWARE IS NOT COPYRIGHTED - * - * This source code is offered for use in the public domain. You may - * use, modify or distribute it freely. - * - * This code is distributed in the hope that it will be useful but - * WITHOUT ANY WARRANTY. ALL WARRENTIES, EXPRESS OR IMPLIED ARE HEREBY - * DISCLAMED. This includes but is not limited to warrenties of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * - * $Revision$ - * $Author$ - * $Date$ - * - */ - -#include - -int -strcasecmp (const char *sz1, const char *sz2) -{ - return _stricmp (sz1, sz2); -} - -int -strncasecmp (const char *sz1, const char *sz2, size_t sizeMaxCompare) -{ - return _strnicmp (sz1, sz2, sizeMaxCompare); -} - -int -wcscmpi (const wchar_t * ws1, const wchar_t * ws2) -{ - return _wcsicmp (ws1, ws2); -} - -- cgit v1.2.3