Fix compiling warning.

This commit is contained in:
Bernard Xiong 2015-04-24 11:41:52 +08:00
parent 21fdff8fbf
commit 3e24db1f8e
1 changed files with 1 additions and 0 deletions

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();