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/arch/sh/src/common/up_unblocktask.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/arch/sh/src/common/up_unblocktask.c')
-rw-r--r-- | nuttx/arch/sh/src/common/up_unblocktask.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/arch/sh/src/common/up_unblocktask.c b/nuttx/arch/sh/src/common/up_unblocktask.c index 5841f50ad..b7c88f823 100644 --- a/nuttx/arch/sh/src/common/up_unblocktask.c +++ b/nuttx/arch/sh/src/common/up_unblocktask.c @@ -79,7 +79,7 @@ * ****************************************************************************/ -void up_unblock_task(_TCB *tcb) +void up_unblock_task(struct tcb_s *tcb) { /* Verify that the context switch can be performed */ @@ -90,7 +90,7 @@ void up_unblock_task(_TCB *tcb) } else { - _TCB *rtcb = (_TCB*)g_readytorun.head; + struct tcb_s *rtcb = (struct tcb_s*)g_readytorun.head; /* Remove the task from the blocked task list */ @@ -128,7 +128,7 @@ void up_unblock_task(_TCB *tcb) * of the g_readytorun task list. */ - rtcb = (_TCB*)g_readytorun.head; + rtcb = (struct tcb_s*)g_readytorun.head; /* Then switch contexts */ @@ -148,7 +148,7 @@ void up_unblock_task(_TCB *tcb) * g_readytorun task list. */ - rtcb = (_TCB*)g_readytorun.head; + rtcb = (struct tcb_s*)g_readytorun.head; /* Then switch contexts */ |