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
This commit is contained in:
dzzxzz 2011-08-29 03:31:39 +00:00
parent 472cc9334a
commit c41b9c2950
1 changed files with 1 additions and 1 deletions

View File

@ -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;