diff options
| author | bernard <[email protected]> | 2014-04-02 14:05:15 +0800 |
|---|---|---|
| committer | bernard <[email protected]> | 2014-04-02 14:05:15 +0800 |
| commit | 8bd3e6f6dc2a6b73d53558f33d684bada0654c06 (patch) | |
| tree | 6aa4e9f6e69ca663639abf782f13c8bd52961d4b /include | |
| parent | 6469a5a3d1826bb97a93b4499f4828c2416678cd (diff) | |
[Kernel] Change command line to const parameter and add system() function.
Diffstat (limited to 'include')
| -rw-r--r-- | include/rtthread.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rtthread.h b/include/rtthread.h index abe3a614ed..edd207bcb7 100644 --- a/include/rtthread.h +++ b/include/rtthread.h @@ -421,7 +421,7 @@ rt_module_t rt_module_load(const char *name, void *module_ptr); rt_err_t rt_module_unload(rt_module_t module); #ifdef RT_USING_DFS rt_module_t rt_module_open(const char *filename); -rt_module_t rt_module_exec_cmd(const char *path, char* cmd_line, int size); +rt_module_t rt_module_exec_cmd(const char *path, const char* cmd_line, int size); #endif void *rt_module_malloc(rt_size_t size); void *rt_module_realloc(void *ptr, rt_size_t size); |
