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/atexit.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/atexit.c')
-rw-r--r-- | nuttx/sched/atexit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/sched/atexit.c b/nuttx/sched/atexit.c index f60598884..4539aa8ff 100644 --- a/nuttx/sched/atexit.c +++ b/nuttx/sched/atexit.c @@ -120,7 +120,7 @@ int atexit(void (*func)(void)) return on_exit((onexitfunc_t)func, NULL); #elif defined(CONFIG_SCHED_ATEXIT_MAX) && CONFIG_SCHED_ATEXIT_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 = ERROR; @@ -155,7 +155,7 @@ int atexit(void (*func)(void)) 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 = ERROR; |