projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
convert malloc use under libc-internal locks to use internal allocator
[musl]
/
src
/
time
/
__tz.c
diff --git
a/src/time/__tz.c
b/src/time/__tz.c
index
49a7371
..
3044d20
100644
(file)
--- a/
src/time/__tz.c
+++ b/
src/time/__tz.c
@@
-7,6
+7,11
@@
#include "libc.h"
#include "lock.h"
+#define malloc __libc_malloc
+#define calloc undef
+#define realloc undef
+#define free undef
+
long __timezone = 0;
int __daylight = 0;
char *__tzname[2] = { 0, 0 };