summaryrefslogtreecommitdiff
path: root/src/locale
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2014-07-02 21:38:54 -0400
committerRich Felker <dalias@aerifal.cx>2014-07-02 21:38:54 -0400
commit7424ac58b1f47adb03de55de5998c530aee91551 (patch)
tree4ea62b1dddc54fe2c901049c1914483c6265e6a0 /src/locale
parentd89fdec51b5849ebdf8000ff1c2fb49878004f39 (diff)
downloadmusl-7424ac58b1f47adb03de55de5998c530aee91551.tar.gz
consolidate str[n]casecmp_l into str[n]casecmp source files
this is mainly done for consistency with the ctype functions and to declutter the src/locale directory.
Diffstat (limited to 'src/locale')
-rw-r--r--src/locale/strcasecmp_l.c6
-rw-r--r--src/locale/strncasecmp_l.c7
2 files changed, 0 insertions, 13 deletions
diff --git a/src/locale/strcasecmp_l.c b/src/locale/strcasecmp_l.c
deleted file mode 100644
index ca805430..00000000
--- a/src/locale/strcasecmp_l.c
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <strings.h>
-
-int strcasecmp_l(const char *l, const char *r, locale_t loc)
-{
- return strcasecmp(l, r);
-}
diff --git a/src/locale/strncasecmp_l.c b/src/locale/strncasecmp_l.c
deleted file mode 100644
index af33ada6..00000000
--- a/src/locale/strncasecmp_l.c
+++ /dev/null
@@ -1,7 +0,0 @@
-#include <strings.h>
-#include <locale.h>
-
-int strncasecmp_l(const char *l, const char *r, size_t n, locale_t loc)
-{
- return strncasecmp(l, r, n);
-}