mirror of
https://github.com/fluencelabs/musl
synced 2025-06-23 19:52:01 +00:00
fix regression/typo that disabled __simple_malloc when calloc is used
commit ba819787ee
introduced this
regression. since the __malloc0 weak alias was not properly provided
by __simple_malloc, use of calloc forced the full malloc to be linked.
This commit is contained in:
@ -47,4 +47,4 @@ void *__simple_malloc(size_t n)
|
||||
}
|
||||
|
||||
weak_alias(__simple_malloc, malloc);
|
||||
weak_alias(__simple_malloc, malloc0);
|
||||
weak_alias(__simple_malloc, __malloc0);
|
||||
|
Reference in New Issue
Block a user