From 55a1c9c89028f8930e5f65fe5484fa7ba0e18853 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Thu, 6 Sep 2018 16:32:49 -0400 Subject: move declarations for malloc internals to malloc_impl.h --- ldso/dynlink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ldso') 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; -- cgit v1.2.1