math: move i386 sqrt to C with inline asm
[musl] / src / string / strcasecmp.c
index 02fd5f8..002c6aa 100644 (file)
@@ -7,3 +7,10 @@ int strcasecmp(const char *_l, const char *_r)
        for (; *l && *r && (*l == *r || tolower(*l) == tolower(*r)); l++, r++);
        return tolower(*l) - tolower(*r);
 }
+
+int __strcasecmp_l(const char *l, const char *r, locale_t loc)
+{
+       return strcasecmp(l, r);
+}
+
+weak_alias(__strcasecmp_l, strcasecmp_l);