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 xiaoxiang
parent 1c5b37a1f5
commit 82047fe3c4
10 changed files with 120 additions and 27 deletions
+1 -1
View File
@@ -434,7 +434,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);
}