about summary refs log tree commit diff
path: root/malloc/malloc.h
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@sourceware.org>2021-07-22 18:37:54 +0530
committerSiddhesh Poyarekar <siddhesh@sourceware.org>2021-07-22 18:37:54 +0530
commit57b07bede12635bd6d6aa0e488824bb510bbeca4 (patch)
treedc4731058938f8a5000a9745e868bd08ff7c9955 /malloc/malloc.h
parent0075c4f39dcc53025103e2919aa74b02f776c1d2 (diff)
downloadglibc-57b07bede12635bd6d6aa0e488824bb510bbeca4.tar.gz
glibc-57b07bede12635bd6d6aa0e488824bb510bbeca4.tar.xz
glibc-57b07bede12635bd6d6aa0e488824bb510bbeca4.zip
Remove __after_morecore_hook
Remove __after_morecore_hook from the API and finalize the symbol so
that it can no longer be used in new applications.  Old applications
using __after_morecore_hook will find that their hook is no longer
called.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Tested-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'malloc/malloc.h')
-rw-r--r--malloc/malloc.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/malloc/malloc.h b/malloc/malloc.h
index c1c0896d29..634b7db868 100644
--- a/malloc/malloc.h
+++ b/malloc/malloc.h
@@ -179,9 +179,6 @@ extern void *(*__MALLOC_HOOK_VOLATILE __memalign_hook)(size_t __alignment,
                                                        size_t __size,
                                                        const void *)
 __MALLOC_DEPRECATED;
-extern void (*__MALLOC_HOOK_VOLATILE __after_morecore_hook) (void)
-  __MALLOC_DEPRECATED;
-
 
 __END_DECLS
 #endif /* malloc.h */