summaryrefslogtreecommitdiff
path: root/libc/stdlib/malloc/malloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdlib/malloc/malloc.c')
-rw-r--r--libc/stdlib/malloc/malloc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libc/stdlib/malloc/malloc.c b/libc/stdlib/malloc/malloc.c
index 88d8698b2..d7df5d243 100644
--- a/libc/stdlib/malloc/malloc.c
+++ b/libc/stdlib/malloc/malloc.c
@@ -101,13 +101,12 @@ typedef int mutex_t;
#define mutex_unlock(x)
#define mutex_init(x)
#define MUTEX_INITIALIZER 0
+//static mutex_t malloc_lock = MUTEX_INITIALIZER;
#endif
static int mmalloc_initialized = -1;
/* -1 == uninitialized, 0 == initializing, 1 == initialized */
-static mutex_t malloc_lock = MUTEX_INITIALIZER;
-
#ifndef MAP_FAILED
#define MAP_FAILED ((void*)-1)
#endif