diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-02-04 18:46:28 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-02-04 18:46:28 +0000 |
commit | 7071ca9d21d783827f93fcd25631aa2da8df8fe4 (patch) | |
tree | 1fab8982b4f2438b1b135fd6c43e7b8a8af78d48 /nuttx/sched/task_setup.c | |
parent | 09afe06037de8f89b2cfa4f1765be407bf1783a2 (diff) | |
download | px4-nuttx-7071ca9d21d783827f93fcd25631aa2da8df8fe4.tar.gz px4-nuttx-7071ca9d21d783827f93fcd25631aa2da8df8fe4.tar.bz2 px4-nuttx-7071ca9d21d783827f93fcd25631aa2da8df8fe4.zip |
Rename _TCB to struct tcb_s
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5610 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/task_setup.c')
-rw-r--r-- | nuttx/sched/task_setup.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/nuttx/sched/task_setup.c b/nuttx/sched/task_setup.c index 649e97184..4c1b957f9 100644 --- a/nuttx/sched/task_setup.c +++ b/nuttx/sched/task_setup.c @@ -75,7 +75,7 @@ static const char g_noname[] = "<noname>"; * Private Function Prototypes ****************************************************************************/ -static int task_assignpid(FAR _TCB* tcb); +static int task_assignpid(FAR struct tcb_s* tcb); /**************************************************************************** * Private Functions @@ -95,7 +95,7 @@ static int task_assignpid(FAR _TCB* tcb); * ****************************************************************************/ -static int task_assignpid(FAR _TCB *tcb) +static int task_assignpid(FAR struct tcb_s *tcb) { pid_t next_pid; int hash_ndx; @@ -168,9 +168,9 @@ static int task_assignpid(FAR _TCB *tcb) ****************************************************************************/ #ifdef CONFIG_SCHED_HAVE_PARENT -static inline void task_saveparent(FAR _TCB *tcb, uint8_t ttype) +static inline void task_saveparent(FAR struct tcb_s *tcb, uint8_t ttype) { - FAR _TCB *rtcb = (FAR _TCB*)g_readytorun.head; + FAR struct tcb_s *rtcb = (FAR struct tcb_s*)g_readytorun.head; #if defined(HAVE_GROUP_MEMBERS) || defined(CONFIG_SCHED_CHILD_STATUS) DEBUGASSERT(tcb && tcb->group && rtcb->group); @@ -271,9 +271,9 @@ static inline void task_saveparent(FAR _TCB *tcb, uint8_t ttype) ****************************************************************************/ #ifdef CONFIG_PIC -static inline void task_dupdspace(FAR _TCB *tcb) +static inline void task_dupdspace(FAR struct tcb_s *tcb) { - FAR _TCB *rtcb = (FAR _TCB*)g_readytorun.head; + FAR struct tcb_s *rtcb = (FAR struct tcb_s*)g_readytorun.head; if (rtcb->dspace != NULL) { /* Copy the D-Space structure reference and increment the reference @@ -318,7 +318,7 @@ static inline void task_dupdspace(FAR _TCB *tcb) * ****************************************************************************/ -int task_schedsetup(FAR _TCB *tcb, int priority, start_t start, main_t main, +int task_schedsetup(FAR struct tcb_s *tcb, int priority, start_t start, main_t main, uint8_t ttype) { int ret; @@ -414,7 +414,7 @@ int task_schedsetup(FAR _TCB *tcb, int priority, start_t start, main_t main, * ****************************************************************************/ -int task_argsetup(FAR _TCB *tcb, const char *name, FAR char * const argv[]) +int task_argsetup(FAR struct tcb_s *tcb, const char *name, FAR char * const argv[]) { int i; |