diff options
| author | bernard <[email protected]> | 2014-04-08 15:49:16 +0800 |
|---|---|---|
| committer | bernard <[email protected]> | 2014-04-08 15:49:16 +0800 |
| commit | b2f35dcf3f930087104e2bb36845d50a6931a15d (patch) | |
| tree | 40e1e3389ceebb6e18919ce0750a880cacb6e9cc /src/module.c | |
| parent | 412d548f9cfb3bb89efe2828013eeb3e264fc0c1 (diff) | |
Merge remote-tracking branch 'origin/master' into stable-v1.2.xv1.2.1
Diffstat (limited to 'src/module.c')
| -rw-r--r-- | src/module.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/module.c b/src/module.c index 428d42e961..0603159b91 100644 --- a/src/module.c +++ b/src/module.c @@ -920,7 +920,7 @@ static void module_main_entry(void* parameter) * * @return the module object */ -rt_module_t rt_module_do_main(const char *name, void *module_ptr, char* cmd_line, int line_size) +rt_module_t rt_module_do_main(const char *name, void *module_ptr, const char* cmd_line, int line_size) { rt_module_t module; @@ -1125,7 +1125,7 @@ rt_module_t rt_module_open(const char *path) * * @return the module object */ -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) { struct stat s; int fd, length; |
