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:57 +0530
committerSiddhesh Poyarekar <siddhesh@sourceware.org>2021-07-22 18:37:57 +0530
commit55a4dd39308951da4b0da84b19e415c2bb451b60 (patch)
treea0c690570b0bcbe7216e9936b06ea01c3b15fe5c /malloc/malloc.h
parent57b07bede12635bd6d6aa0e488824bb510bbeca4 (diff)
downloadglibc-55a4dd39308951da4b0da84b19e415c2bb451b60.tar.gz
glibc-55a4dd39308951da4b0da84b19e415c2bb451b60.tar.xz
glibc-55a4dd39308951da4b0da84b19e415c2bb451b60.zip
Remove __morecore and __default_morecore
Make the __morecore and __default_morecore symbols compat-only and
remove their declarations from the API.  Also, include morecore.c
directly into malloc.c; this should ideally get merged into malloc in
a future cleanup.

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.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/malloc/malloc.h b/malloc/malloc.h
index 634b7db868..17ab9ee345 100644
--- a/malloc/malloc.h
+++ b/malloc/malloc.h
@@ -76,14 +76,6 @@ extern void *valloc (size_t __size) __THROW __attribute_malloc__
 extern void *pvalloc (size_t __size) __THROW __attribute_malloc__
   __wur __attr_dealloc_free;
 
-/* Underlying allocation function; successive calls should return
-   contiguous pieces of memory.  */
-extern void *(*__morecore) (ptrdiff_t __size) __MALLOC_DEPRECATED;
-
-/* Default value of `__morecore'.  */
-extern void *__default_morecore (ptrdiff_t __size)
-__THROW __attribute_malloc__  __MALLOC_DEPRECATED;
-
 /* SVID2/XPG mallinfo structure */
 
 struct mallinfo