From 65a678ee0c7cc51ce53875a964dc6f1896cb76da Mon Sep 17 00:00:00 2001 From: patacongo Date: Fri, 23 Mar 2007 16:03:28 +0000 Subject: argv parameter should be 'const' git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@130 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/sched/task_create.c | 4 ++-- nuttx/sched/task_init.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'nuttx/sched') 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; -- cgit v1.2.3