diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-11-04 04:37:24 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-11-04 04:37:24 +0000 |
commit | e547d07a488ab17397217e2a57594c78bf747373 (patch) | |
tree | 27ff5a616a1a4c6172cceb824be19e609b5d80a1 /libc/stdlib/malloc | |
parent | cb9fa11843a7ea4a353a1a9954c8e054b35332b2 (diff) |
More cleanups. Fix things so tinylogin compiles.
Fix a bug in getdelim -- patch from David Whedon <dwhedon@gordian.com>.
Diffstat (limited to 'libc/stdlib/malloc')
-rw-r--r-- | libc/stdlib/malloc/malloc.c | 3 |
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 |