diff options
author | Miles Bader <miles@lsi.nec.co.jp> | 2002-09-06 04:58:53 +0000 |
---|---|---|
committer | Miles Bader <miles@lsi.nec.co.jp> | 2002-09-06 04:58:53 +0000 |
commit | 73f88c8f7e9733dd3252b464f5ca0108ff7297c4 (patch) | |
tree | e4cfa77ff344a5b929f4c592d744282661f7cf9a /libc/stdlib/malloc/malloc.c | |
parent | e228070ee1857944afad5571eae50b8c6e2430c8 (diff) |
Update debugging hooks.
Diffstat (limited to 'libc/stdlib/malloc/malloc.c')
-rw-r--r-- | libc/stdlib/malloc/malloc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/stdlib/malloc/malloc.c b/libc/stdlib/malloc/malloc.c index 4b4cc7d56..021ed3a24 100644 --- a/libc/stdlib/malloc/malloc.c +++ b/libc/stdlib/malloc/malloc.c @@ -31,6 +31,10 @@ malloc_mutex_t __malloc_sbrk_lock; # endif /* MALLOC_USE_SBRK */ #endif /* MALLOC_USE_LOCKING */ +#ifdef MALLOC_DEBUGGING +int __malloc_debug = 0; +#endif + void * malloc (size_t size) |