[finsh] export system symbol

This commit is contained in:
Bernard Xiong 2015-09-02 11:24:41 +08:00
parent 6ee8244a19
commit 340a013f53
1 changed files with 1 additions and 0 deletions

View File

@ -253,6 +253,7 @@ int system(const char *command)
{ {
return msh_exec_module(command, rt_strlen(command)); return msh_exec_module(command, rt_strlen(command));
} }
RTM_EXPORT(system);
#endif #endif
static int _msh_exec_cmd(char* cmd, rt_size_t length, int *retp) static int _msh_exec_cmd(char* cmd, rt_size_t length, int *retp)