From 92e1ab0eb58c57d5843fa982ff6c24f551f2f634 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Mon, 20 Jun 2016 11:11:29 +0200 Subject: Revert __malloc_initialize_hook symbol poisoning It turns out the Emacs-internal malloc implementation uses __malloc_* symbols. If glibc poisons them in , Emacs will no longer compile. --- malloc/malloc-hooks.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'malloc/malloc-hooks.h') diff --git a/malloc/malloc-hooks.h b/malloc/malloc-hooks.h index 3be391b6fb..c7aa8b2d53 100644 --- a/malloc/malloc-hooks.h +++ b/malloc/malloc-hooks.h @@ -19,9 +19,6 @@ #ifndef _MALLOC_HOOKS_H #define _MALLOC_HOOKS_H -/* These hooks are no longer part of the public API and are poisoned - in . Their names here reflect the command-line - mapping which is used inside glibc to get past the poisoning. */ -void (*old__malloc_initialize_hook) (void); +void (*__malloc_initialize_hook) (void); #endif /* _MALLOC_HOOKS_H */ -- cgit v1.2.3