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
diff options
context:
space:
mode:
Diffstat (limited to 'src/malloc')
-rw-r--r--src/malloc/oldmalloc/malloc.c 2
-rw-r--r--src/malloc/replaced.c 3
2 files changed, 3 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)
diff --git a/src/malloc/replaced.c b/src/malloc/replaced.c
new file mode 100644
index 00000000..8acc249c
--- /dev/null
+++ b/src/malloc/replaced.c
@@ -0,0 +1,3 @@
+#include "dynlink.h"
+
+int __malloc_replaced;
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月24日 22:12:21 +0000

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