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:
raiden00pl 2024-06-01 09:53:33 +02:00 committed by Alan Carvalho de Assis
parent 13fa50c94a
commit e062f4591c

View File

@ -375,6 +375,10 @@ struct mallinfo_task kmm_mallinfo_task(FAR const struct malltask *task);
void mm_memdump(FAR struct mm_heap_s *heap,
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
/* Functions contained in mm_checkcorruption.c ******************************/
@ -384,10 +388,6 @@ void mm_checkcorruption(FAR struct mm_heap_s *heap);
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 *****************************/
#ifdef CONFIG_MM_KERNEL_HEAP