瀏覽代碼

[finsh] export system symbol

Bernard Xiong 9 年之前
父節點
當前提交
340a013f53
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      components/finsh/msh.c

+ 1 - 0
components/finsh/msh.c

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