diff options
author | Alex Bennee <alex@bennee.com> | 2010-07-14 16:00:32 +0100 |
---|---|---|
committer | Alex Bennee <alex@bennee.com> | 2010-07-14 16:00:32 +0100 |
commit | d022d6443c6b7564ae05a3af70035822bccd0b19 (patch) | |
tree | 57706bd83b146d8754f2a8d1f9abb55e050bb44d /src/win32/win32dep.c | |
parent | 56302086c9c0d6af537d7603a7c63fb3606945f5 (diff) |
EasyTag 2.1.3
Diffstat (limited to 'src/win32/win32dep.c')
-rw-r--r--[-rwxr-xr-x] | src/win32/win32dep.c | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/src/win32/win32dep.c b/src/win32/win32dep.c index a644adc..9e400af 100755..100644 --- a/src/win32/win32dep.c +++ b/src/win32/win32dep.c @@ -456,38 +456,3 @@ BOOL WINAPI DllMain ( HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved ) ET_dll_hInstance = hinstDLL; return TRUE; } - - -/* - * Copyright (C) 2002 Manuel Novoa III - * Copyright (C) 2000-2005 Erik Andersen <andersen@uclibc.org> - * - * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. - */ - -#include <string.h> -#include <ctype.h> - -char *strcasestr(const char *s1, const char *s2) -{ - register const char *s = s1; - register const char *p = s2; - - do { - if (!*p) { - return (char *) s1;; - } - if ((*p == *s) - || (tolower(*((unsigned char *)p)) == tolower(*((unsigned char *)s))) - ) { - ++p; - ++s; - } else { - p = s2; - if (!*s) { - return NULL; - } - s = ++s1; - } - } while (1); -}
\ No newline at end of file |