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:
parent
472cc9334a
commit
c41b9c2950
|
@ -490,7 +490,7 @@ int list_mod_detail(const char* name)
|
||||||
FINSH_FUNCTION_EXPORT(list_mod_detail, list module objects in system)
|
FINSH_FUNCTION_EXPORT(list_mod_detail, list module objects in system)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int list()
|
long list(void)
|
||||||
{
|
{
|
||||||
struct finsh_syscall_item* syscall_item;
|
struct finsh_syscall_item* syscall_item;
|
||||||
struct finsh_sysvar_item* sysvar_item;
|
struct finsh_sysvar_item* sysvar_item;
|
||||||
|
|
Loading…
Reference in New Issue