diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-12-19 10:01:52 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-12-19 10:01:52 -0600 |
commit | a22336726cb8351c2cbdeeb2391f6f39dd98af33 (patch) | |
tree | 5fd70afdc5ec216741ff8c48deed6bc4b7f2b9c8 /nuttx/sched | |
parent | fac07055b509e56427c9b1b828b848d2bbde8bbe (diff) | |
download | px4-nuttx-a22336726cb8351c2cbdeeb2391f6f39dd98af33.tar.gz px4-nuttx-a22336726cb8351c2cbdeeb2391f6f39dd98af33.tar.bz2 px4-nuttx-a22336726cb8351c2cbdeeb2391f6f39dd98af33.zip |
Various changes for a clean ZNEO ZDS-II build
Diffstat (limited to 'nuttx/sched')
-rw-r--r-- | nuttx/sched/task_setup.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/sched/task_setup.c b/nuttx/sched/task_setup.c index bed452759..21a82586a 100644 --- a/nuttx/sched/task_setup.c +++ b/nuttx/sched/task_setup.c @@ -191,7 +191,7 @@ static inline void task_saveparent(FAR struct tcb_s *tcb, uint8_t ttype) /* This is a new task in a new task group, we have to copy the ID from * the parent's task group structure to child's task group. */ - + tcb->group->tg_pgid = rtcb->group->tg_gid; } @@ -509,7 +509,7 @@ static int task_tcbargsetup(FAR struct task_tcb_s *tcb, ****************************************************************************/ #if !defined(CONFIG_CUSTOM_STACK) && defined(CONFIG_NUTTX_KERNEL) -static int task_stackargsetup(FAR struct task_tcb_s *tcb, +static int task_stackargsetup(FAR struct task_tcb_s *tcb, FAR char * const argv[]) { FAR char **stackargv; @@ -575,7 +575,7 @@ static int task_stackargsetup(FAR struct task_tcb_s *tcb, */ str = (FAR char *)stackargv + argvlen; - + /* Copy the task name. Increment str to skip over the task name and its * NUL terminator in the string buffer. */ |