mirror of git://git.musl-libc.org/musl
918b1c1d17
this function is used only as a weak definition for malloc, for static linking in programs which do not call realloc or free. since it had external linkage and was thereby exported in libc.so's dynamic symbol table, --gc-sections was unable to drop it. this was merely an oversight; there's no reason for it to be external, so make it static. |
||
---|---|---|
.. | ||
DESIGN | ||
__brk.c | ||
aligned_alloc.c | ||
calloc.c | ||
expand_heap.c | ||
lite_malloc.c | ||
malloc.c | ||
malloc_usable_size.c | ||
memalign.c | ||
posix_memalign.c |