New interface task_spawn(); exec_builtin() now uses task_spawn(); All argv types should be char * const * not const char **

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5598 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2013-02-02 19:31:30 +00:00
parent cf411bec51
commit 329328e5df
41 changed files with 1453 additions and 371 deletions

View File

@@ -112,18 +112,18 @@ extern "C"
#ifndef CONFIG_CUSTOM_STACK
int task_init(FAR _TCB *tcb, const char *name, int priority,
FAR uint32_t *stack, uint32_t stack_size, main_t entry,
FAR const char *argv[]);
FAR char * const argv[]);
#else
int task_init(FAR _TCB *tcb, const char *name, int priority, main_t entry,
FAR const char *argv[]);
FAR char * const argv[]);
#endif
int task_activate(FAR _TCB *tcb);
#ifndef CONFIG_CUSTOM_STACK
int task_create(FAR const char *name, int priority, int stack_size, main_t entry,
FAR const char *argv[]);
FAR char * const argv[]);
#else
int task_create(FAR const char *name, int priority, main_t entry,
FAR const char *argv[]);
FAR char * const argv[]);
#endif
int task_delete(pid_t pid);
int task_restart(pid_t pid);