projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix issues from public functions defined without declaration visible
[musl]
/
src
/
time
/
__tz.c
diff --git
a/src/time/__tz.c
b/src/time/__tz.c
index
8cc9603
..
814edcd
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 char *old_tz = old_tz_buf;
static size_t old_tz_size = sizeof old_tz_buf;
-static volatile int lock[
2
];
+static volatile int lock[
1
];
static int getint(const char **p)
{
static int getint(const char **p)
{
@@
-230,7
+230,7
@@
static void do_tzset()
dst_off = __timezone - 3600;
} else {
__daylight = 0;
dst_off = __timezone - 3600;
} else {
__daylight = 0;
- dst_off =
0
;
+ dst_off =
__timezone
;
}
if (*s == ',') s++, getrule(&s, r0);
}
if (*s == ',') s++, getrule(&s, r0);