mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user