summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2018-09-06 16:32:49 -0400
committerRich Felker <dalias@aerifal.cx>2018-09-12 14:34:28 -0400
commit55a1c9c89028f8930e5f65fe5484fa7ba0e18853 (patch)
tree426ed3adf14fc0cac4e3748ff4ccdd65f65fe89d /ldso
parent18bf0829a7545b14de3fe241a65298c5f36e8bbc (diff)
downloadmusl-55a1c9c89028f8930e5f65fe5484fa7ba0e18853.tar.gz
move declarations for malloc internals to malloc_impl.h
Diffstat (limited to 'ldso')
-rw-r--r--ldso/dynlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ldso/dynlink.c b/ldso/dynlink.c
index b561454b..1d3dacc3 100644
--- a/ldso/dynlink.c
+++ b/ldso/dynlink.c
@@ -20,6 +20,7 @@
#include "pthread_impl.h"
#include "libc.h"
#include "dynlink.h"
+#include "malloc_impl.h"
static void error(const char *, ...);
@@ -500,7 +501,6 @@ static void redo_lazy_relocs()
static void reclaim(struct dso *dso, size_t start, size_t end)
{
- void __malloc_donate(char *, char *);
if (start >= dso->relro_start && start < dso->relro_end) start = dso->relro_end;
if (end >= dso->relro_start && end < dso->relro_end) end = dso->relro_start;
if (start >= end) return;