mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2024-10-01 01:36:01 -04:00
fix builds with prefix
This commit is contained in:
parent
becadc57a5
commit
e85c69a0a4
2
malloc.c
2
malloc.c
@ -897,7 +897,7 @@ EXPORT void h_free(void *p) {
|
||||
deallocate(p);
|
||||
}
|
||||
|
||||
EXPORT void h_cfree(void *ptr) __attribute__((alias("free")));
|
||||
EXPORT void h_cfree(void *ptr) ALIAS(h_free);
|
||||
|
||||
EXPORT size_t h_malloc_usable_size(void *p) {
|
||||
if (p == NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user