mm: Correct the callsite of mm_mallinfo

forget to update in https://github.com/apache/nuttx/pull/9488

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2023-05-28 19:04:22 +08:00
committed by Petro Karashchenko
parent 9f4da58c67
commit da5e978341
5 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -177,7 +177,7 @@ bool esp32c3_rtcheap_heapmember(void *mem)
*
****************************************************************************/
int esp32c3_rtcheap_mallinfo(struct mallinfo *info)
struct mallinfo esp32c3_rtcheap_mallinfo(void)
{
return mm_mallinfo(g_rtcheap, info);
return mm_mallinfo(g_rtcheap);
}
+1 -1
View File
@@ -136,7 +136,7 @@ bool esp32c3_rtcheap_heapmember(void *mem);
*
****************************************************************************/
int esp32c3_rtcheap_mallinfo(struct mallinfo *info);
struct mallinfo esp32c3_rtcheap_mallinfo(void);
#undef EXTERN
#ifdef __cplusplus
+1 -1
View File
@@ -176,7 +176,7 @@ bool xtensa_imm_heapmember(void *mem)
*
****************************************************************************/
struct mallinfo xtensa_imm_mallinfo()
struct mallinfo xtensa_imm_mallinfo(void)
{
return mm_mallinfo(g_iheap);
}
+2 -2
View File
@@ -188,7 +188,7 @@ bool esp32s3_rtcheap_heapmember(void *mem)
*
****************************************************************************/
int esp32s3_rtcheap_mallinfo(struct mallinfo *info)
struct mallinfo esp32s3_rtcheap_mallinfo(void)
{
return mm_mallinfo(g_rtcheap, info);
return mm_mallinfo(g_rtcheap);
}
+1 -1
View File
@@ -139,7 +139,7 @@ bool esp32s3_rtcheap_heapmember(void *mem);
*
****************************************************************************/
int esp32s3_rtcheap_mallinfo(struct mallinfo *info);
struct mallinfo esp32s3_rtcheap_mallinfo(void);
#undef EXTERN
#ifdef __cplusplus