projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
make all objects used with atomic operations volatile
[oweals/musl.git]
/
src
/
time
/
__tz.c
diff --git
a/src/time/__tz.c
b/src/time/__tz.c
index 4ce20258f126123cc0c6221a6e5465f2a94c65bf..13cb1aedf9f9b1c1a5539219141c7871714b84f1 100644
(file)
--- a/
src/time/__tz.c
+++ b/
src/time/__tz.c
@@
-27,7
+27,7
@@
static char old_tz_buf[32];
static char *old_tz = old_tz_buf;
static size_t old_tz_size = sizeof old_tz_buf;
-static int lock[2];
+static
volatile
int lock[2];
static int getint(const char **p)
{