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/on_exit.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/on_exit.c')
-rw-r--r-- | nuttx/sched/on_exit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/sched/on_exit.c b/nuttx/sched/on_exit.c index 89c4a2d57..ef3c31631 100644 --- a/nuttx/sched/on_exit.c +++ b/nuttx/sched/on_exit.c @@ -115,7 +115,7 @@ int on_exit(CODE void (*func)(int, FAR void *), FAR void *arg) { #if defined(CONFIG_SCHED_ONEXIT_MAX) && CONFIG_SCHED_ONEXIT_MAX > 1 - FAR _TCB *tcb = (FAR _TCB*)g_readytorun.head; + FAR struct tcb_s *tcb = (FAR struct tcb_s*)g_readytorun.head; FAR struct task_group_s *group = tcb->group; int index; int ret = ENOSPC; @@ -150,7 +150,7 @@ int on_exit(CODE void (*func)(int, FAR void *), FAR void *arg) return ret; #else - FAR _TCB *tcb = (FAR _TCB*)g_readytorun.head; + FAR struct tcb_s *tcb = (FAR struct tcb_s*)g_readytorun.head; FAR struct task_group_s *group = tcb->group; int ret = ENOSPC; |