mirror of
https://github.com/apache/nuttx.git
synced 2026-10-14 09:41:53 +00: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:
parent
9f4da58c67
commit
da5e978341
5 changed files with 7 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue