diff --git a/components/finsh/cmd.c b/components/finsh/cmd.c index 0b4c313b7ce950d4e59b512f34ad5c956807f2a8..1b0735877631ef28b426e913bb3829bf7a8d12e0 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;