summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2015-04-24 11:41:52 +0800
committerBernard Xiong <[email protected]>2015-04-24 11:41:52 +0800
commit3e24db1f8eccd01655e078d8f7a5a1c33679d830 (patch)
tree25b6eca79aa6b3efdd082b3f05b211d5a03a1ac5 /components
parent21fdff8fbf906dc2d003aca295b13516a9e05367 (diff)
Fix compiling warning.
Diffstat (limited to 'components')
-rw-r--r--components/finsh/msh_cmd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/finsh/msh_cmd.c b/components/finsh/msh_cmd.c
index 206b640c16..cc8b2dce0a 100644
--- a/components/finsh/msh_cmd.c
+++ b/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();