From c41b9c295021e04ab0df65438af65aca82ca5f7d Mon Sep 17 00:00:00 2001 From: dzzxzz Date: Mon, 29 Aug 2011 03:31:39 +0000 Subject: [PATCH] fix a compile warning Warning[w6]: Type conflict for external/entry "list", in module symbol against external/entry in module cmd; function return types are different; different basic types git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1683 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- components/finsh/cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/finsh/cmd.c b/components/finsh/cmd.c index 0b4c313b7c..1b07358776 100644 --- a/components/finsh/cmd.c +++ b/components/finsh/cmd.c @@ -490,7 +490,7 @@ int list_mod_detail(const char* name) FINSH_FUNCTION_EXPORT(list_mod_detail, list module objects in system) #endif -int list() +long list(void) { struct finsh_syscall_item* syscall_item; struct finsh_sysvar_item* sysvar_item; -- GitLab