projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
have posix_spawnattr_setflags check for supported flags
[oweals/musl.git]
/
src
/
ctype
/
toupper.c
diff --git
a/src/ctype/toupper.c
b/src/ctype/toupper.c
index 1799f0307789a3336b28d82e78203a0482eb02ea..bbf4e06e815c6e1bbd7bfce3f12e471d427d71ad 100644
(file)
--- a/
src/ctype/toupper.c
+++ b/
src/ctype/toupper.c
@@
-1,7
+1,15
@@
#include <ctype.h>
+#include "libc.h"
int toupper(int c)
{
if (islower(c)) return c & 0x5f;
return c;
}
+
+int __toupper_l(int c, locale_t l)
+{
+ return toupper(c);
+}
+
+weak_alias(__toupper_l, toupper_l);