summary refs log tree commit diff
path: root/include/stdlib.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 /include/stdlib.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 'include/stdlib.h')
-rw-r--r--include/stdlib.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/stdlib.h b/include/stdlib.h
index 1f6e1508e4..1c6f70b082 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -306,9 +306,6 @@ libc_hidden_proto (__qfcvt_r)
 #  define MB_CUR_MAX (_NL_CURRENT_WORD (LC_CTYPE, _NL_CTYPE_MB_CUR_MAX))
 # endif
 
-extern void *__default_morecore (ptrdiff_t) __THROW;
-libc_hidden_proto (__default_morecore)
-
 struct abort_msg_s
 {
   unsigned int size;