mirror of
git://git.musl-libc.org/musl
synced 2025-03-06 20:48:29 +01:00
move __malloc_replaced to a top-level malloc file
it's not part of the malloc implementation but glue with musl dynamic linker.
This commit is contained in:
parent
28f64fa6ca
commit
501a92660c
2 changed files with 3 additions and 2 deletions
|
@ -20,8 +20,6 @@ static struct {
|
|||
volatile int split_merge_lock[2];
|
||||
} mal;
|
||||
|
||||
int __malloc_replaced;
|
||||
|
||||
/* Synchronization tools */
|
||||
|
||||
static inline void lock(volatile int *lk)
|
||||
|
|
3
src/malloc/replaced.c
Normal file
3
src/malloc/replaced.c
Normal file
|
@ -0,0 +1,3 @@
|
|||
#include "dynlink.h"
|
||||
|
||||
int __malloc_replaced;
|
Loading…
Add table
Reference in a new issue