projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix pthread_create return value with PTHREAD_EXPLICIT_SCHED
[musl]
/
src
/
ctype
/
tolower.c
diff --git
a/src/ctype/tolower.c
b/src/ctype/tolower.c
index
b56f3c5
..
362d6b2
100644
(file)
--- a/
src/ctype/tolower.c
+++ b/
src/ctype/tolower.c
@@
-1,7
+1,15
@@
#include <ctype.h>
+#include "libc.h"
int tolower(int c)
{
if (isupper(c)) return c | 32;
return c;
}
+
+int __tolower_l(int c, locale_t l)
+{
+ return tolower(c);
+}
+
+weak_alias(__tolower_l, tolower_l);