Ver Fonte

Fix compiling warning.

Bernard Xiong há 10 anos atrás
pai
commit
37aa44d4f2
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      components/finsh/msh_cmd.c

+ 1 - 0
components/finsh/msh_cmd.c

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