mm: Add kmm_malloc_size and mm_malloc_size

make malloc_size implementation align with malloc

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I8d7781925f06e58a880437a16569dccbfd2ea035
This commit is contained in:
Xiang Xiao
2021-06-30 20:33:29 -07:00
committed by Masayuki Ishikawa
parent ddaa3e42b9
commit 75bfa4584c
9 changed files with 118 additions and 25 deletions
+1 -1
View File
@@ -413,7 +413,7 @@ void mm_checkcorruption(FAR struct mm_heap_s *heap)
* Name: malloc_size
****************************************************************************/
size_t malloc_size(FAR void *mem)
size_t mm_malloc_size(FAR void *mem)
{
return host_malloc_size(mem);
}