projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
optimize malloc0
[musl]
/
src
/
locale
/
setlocale.c
diff --git
a/src/locale/setlocale.c
b/src/locale/setlocale.c
index
623660c
..
40bc7ec
100644
(file)
--- a/
src/locale/setlocale.c
+++ b/
src/locale/setlocale.c
@@
-21,7
+21,7
@@
char *__strchrnul(const char *, int);
char *setlocale(int cat, const char *name)
{
char *setlocale(int cat, const char *name)
{
- static volatile int lock[
2
];
+ static volatile int lock[
1
];
if ((unsigned)cat > LC_ALL) return 0;
if ((unsigned)cat > LC_ALL) return 0;