musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/malloc/oldmalloc
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2020年06月10日 20:42:54 -0400
committerRich Felker <dalias@aerifal.cx>2020年06月10日 20:42:54 -0400
commit501a92660ca2ed6469a0a01474574ce9930356cd (patch)
tree25c806c042db5607569604267eab06ac8021b564 /src/malloc/oldmalloc
parent28f64fa6caeb621780bf116bc8cae7d7a48b477e (diff)
downloadmusl-501a92660ca2ed6469a0a01474574ce9930356cd.tar.gz
move __malloc_replaced to a top-level malloc file
it's not part of the malloc implementation but glue with musl dynamic linker.
Diffstat (limited to 'src/malloc/oldmalloc')
-rw-r--r--src/malloc/oldmalloc/malloc.c 2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/malloc/oldmalloc/malloc.c b/src/malloc/oldmalloc/malloc.c
index afa75722..1c6b07ec 100644
--- a/src/malloc/oldmalloc/malloc.c
+++ b/src/malloc/oldmalloc/malloc.c
@@ -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)
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月18日 13:54:21 +0000

AltStyle によって変換されたページ (->オリジナル) /