summaryrefslogtreecommitdiff
path: root/src/malloc/replaced.c
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/replaced.c
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/replaced.c')
-rw-r--r--src/malloc/replaced.c3
1 files changed, 3 insertions, 0 deletions
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;