diff options
author | Florian Weimer <fweimer@redhat.com> | 2016-06-20 11:11:29 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2016-06-20 11:11:29 +0200 |
commit | 92e1ab0eb58c57d5843fa982ff6c24f551f2f634 (patch) | |
tree | e9080190c7a4e80722d4d30ca22ed55bc09bff09 /malloc/mcheck-init.c | |
parent | e3c0687de17a97e5dcd991841b54bec181b30e90 (diff) | |
download | glibc-92e1ab0eb58c57d5843fa982ff6c24f551f2f634.tar.gz glibc-92e1ab0eb58c57d5843fa982ff6c24f551f2f634.tar.xz glibc-92e1ab0eb58c57d5843fa982ff6c24f551f2f634.zip |
Revert __malloc_initialize_hook symbol poisoning
It turns out the Emacs-internal malloc implementation uses __malloc_* symbols. If glibc poisons them in <stdc-pre.h>, Emacs will no longer compile.
Diffstat (limited to 'malloc/mcheck-init.c')
-rw-r--r-- | malloc/mcheck-init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/malloc/mcheck-init.c b/malloc/mcheck-init.c index 3218bb03b9..8d63dd3488 100644 --- a/malloc/mcheck-init.c +++ b/malloc/mcheck-init.c @@ -27,4 +27,4 @@ turn_on_mcheck (void) mcheck (NULL); } -void (*old__malloc_initialize_hook) (void) = turn_on_mcheck; +void (*__malloc_initialize_hook) (void) = turn_on_mcheck; |