diff options
| author | dzzxzz <[email protected]> | 2011-08-29 03:31:39 +0000 |
|---|---|---|
| committer | dzzxzz <[email protected]> | 2011-08-29 03:31:39 +0000 |
| commit | c41b9c295021e04ab0df65438af65aca82ca5f7d (patch) | |
| tree | b9b0b253fb2efc5e255608e74776bcf50f3e3425 | |
| parent | 472cc9334ac63bdd041f83e884757c75a30651c7 (diff) | |
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
| -rw-r--r-- | components/finsh/cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
