mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 21:34:07 +08:00
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:
committed by
Petro Karashchenko
parent
9f4da58c67
commit
da5e978341
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user