--- deliantra/server/common/compat.C 2009/11/04 00:02:47 1.1 +++ deliantra/server/common/compat.C 2009/11/06 13:03:34 1.2 @@ -235,7 +235,7 @@ return path; } -void +static void path_normalize (char *path) { char *p; /* points to the beginning of the path not yet processed; this is @@ -316,31 +316,6 @@ return (path); } -char * -strcasestr_local (const char *s, const char *find) -{ - char c, sc; - size_t len; - - if ((c = *find++) != 0) - { - c = tolower (c); - len = strlen (find); - do - { - do - { - if ((sc = *s++) == 0) - return NULL; - } - while (tolower (sc) != c); - } - while (strncasecmp (s, find, len) != 0); - s--; - } - return (char *) s; -} - /** * open_and_uncompress() first searches for the original filename. If it exist, * then it opens it and returns the file-pointer.