From e547d07a488ab17397217e2a57594c78bf747373 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sat, 4 Nov 2000 04:37:24 +0000 Subject: More cleanups. Fix things so tinylogin compiles. Fix a bug in getdelim -- patch from David Whedon . --- libc/stdlib/malloc/malloc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libc/stdlib') 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 -- cgit v1.2.3