diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-10-17 10:37:43 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-10-17 10:37:43 +0000 |
commit | db7c5027f4dfaa1cb83d25f7284d124bee4eb574 (patch) | |
tree | ed9cdbc72aa1ec980b4a85f2d13a9769396f5518 /libc/stdlib/malloc/heap.h | |
parent | 58445daa9894cd958640f0df32f9c453ee74faa8 (diff) |
Fix malloc so it compiles and works when using pthreads
-Erik
Diffstat (limited to 'libc/stdlib/malloc/heap.h')
-rw-r--r-- | libc/stdlib/malloc/heap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdlib/malloc/heap.h b/libc/stdlib/malloc/heap.h index 42cde5227..ebbc420a9 100644 --- a/libc/stdlib/malloc/heap.h +++ b/libc/stdlib/malloc/heap.h @@ -38,7 +38,7 @@ struct heap /* A lock that can be used by callers to control access to the heap. The heap code _does not_ use this lock, it's merely here for the convenience of users! */ - extern heap_mutex_t lock; + pthread_mutex_t lock; #endif }; |