sched/task/task_exithook.c: fix gcc14 error
umm_memdump() should be always declared otherwise we get error when DEBUG_MM=n: sched/task/task_exithook.c:468:7: error: implicit declaration of function ‘umm_memdump’; did you mean ‘mm_memdump’? [-Wimplicit-function-declaration]
This commit is contained in:
parent
13fa50c94a
commit
e062f4591c
@ -375,6 +375,10 @@ struct mallinfo_task kmm_mallinfo_task(FAR const struct malltask *task);
|
|||||||
void mm_memdump(FAR struct mm_heap_s *heap,
|
void mm_memdump(FAR struct mm_heap_s *heap,
|
||||||
FAR const struct mm_memdump_s *dump);
|
FAR const struct mm_memdump_s *dump);
|
||||||
|
|
||||||
|
/* Functions contained in umm_memdump.c *************************************/
|
||||||
|
|
||||||
|
void umm_memdump(FAR const struct mm_memdump_s *dump);
|
||||||
|
|
||||||
#ifdef CONFIG_DEBUG_MM
|
#ifdef CONFIG_DEBUG_MM
|
||||||
/* Functions contained in mm_checkcorruption.c ******************************/
|
/* Functions contained in mm_checkcorruption.c ******************************/
|
||||||
|
|
||||||
@ -384,10 +388,6 @@ void mm_checkcorruption(FAR struct mm_heap_s *heap);
|
|||||||
|
|
||||||
FAR void umm_checkcorruption(void);
|
FAR void umm_checkcorruption(void);
|
||||||
|
|
||||||
/* Functions contained in umm_memdump.c *************************************/
|
|
||||||
|
|
||||||
void umm_memdump(FAR const struct mm_memdump_s *dump);
|
|
||||||
|
|
||||||
/* Functions contained in kmm_checkcorruption.c *****************************/
|
/* Functions contained in kmm_checkcorruption.c *****************************/
|
||||||
|
|
||||||
#ifdef CONFIG_MM_KERNEL_HEAP
|
#ifdef CONFIG_MM_KERNEL_HEAP
|
||||||
|
Loading…
Reference in New Issue
Block a user