aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/win32/win32dep.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/win32/win32dep.c')
-rw-r--r--[-rwxr-xr-x]src/win32/win32dep.c35
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