Fix compiling warning.

This commit is contained in:
Bernard Xiong 2015-04-24 11:41:52 +08:00
parent 9339c2d96e
commit 37aa44d4f2

View File

@ -280,6 +280,7 @@ FINSH_FUNCTION_EXPORT_ALIAS(cmd_time, __cmd_time, Execute command with time.);
int cmd_free(int argc, char** argv) int cmd_free(int argc, char** argv)
{ {
extern void list_mem(void); extern void list_mem(void);
extern void list_memheap(void);
#ifdef RT_USING_MEMHEAP_AS_HEAP #ifdef RT_USING_MEMHEAP_AS_HEAP
list_memheap(); list_memheap();