diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-03-23 16:03:28 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-03-23 16:03:28 +0000 |
commit | 65a678ee0c7cc51ce53875a964dc6f1896cb76da (patch) | |
tree | 45908ad686b4d54a6d9e79dea0d8244c7ec5e199 /nuttx/sched | |
parent | 74094f8195669c91e1b64e585ca167c306ad8978 (diff) | |
download | px4-nuttx-65a678ee0c7cc51ce53875a964dc6f1896cb76da.tar.gz px4-nuttx-65a678ee0c7cc51ce53875a964dc6f1896cb76da.tar.bz2 px4-nuttx-65a678ee0c7cc51ce53875a964dc6f1896cb76da.zip |
argv parameter should be 'const'
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@130 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched')
-rw-r--r-- | nuttx/sched/task_create.c | 4 | ||||
-rw-r--r-- | nuttx/sched/task_init.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/sched/task_create.c b/nuttx/sched/task_create.c index d142581ff..008cc378a 100644 --- a/nuttx/sched/task_create.c +++ b/nuttx/sched/task_create.c @@ -108,10 +108,10 @@ #ifndef CONFIG_CUSTOM_STACK int task_create(const char *name, int priority, - int stack_size, main_t entry, char *argv[]) + int stack_size, main_t entry, const char *argv[]) #else int task_create(const char *name, int priority, - main_t entry, char *argv[]) + main_t entry, const char *argv[]) #endif { FAR _TCB *tcb; diff --git a/nuttx/sched/task_init.c b/nuttx/sched/task_init.c index f1dc42292..0b4a3a54d 100644 --- a/nuttx/sched/task_init.c +++ b/nuttx/sched/task_init.c @@ -106,10 +106,10 @@ #ifndef CONFIG_CUSTOM_STACK STATUS task_init(FAR _TCB *tcb, const char *name, int priority, FAR uint32 *stack, uint32 stack_size, - main_t entry, char *argv[]) + main_t entry, const char *argv[]) #else STATUS task_init(FAR _TCB *tcb, const char *name, int priority, - main_t entry, char *argv[]) + main_t entry, const char *argv[]) #endif { STATUS ret; |