summaryrefslogtreecommitdiff
path: root/nuttx/arch/sh/src/common/up_exit.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/sh/src/common/up_exit.c')
-rw-r--r--nuttx/arch/sh/src/common/up_exit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/arch/sh/src/common/up_exit.c b/nuttx/arch/sh/src/common/up_exit.c
index 705f49852..31c8e0404 100644
--- a/nuttx/arch/sh/src/common/up_exit.c
+++ b/nuttx/arch/sh/src/common/up_exit.c
@@ -74,7 +74,7 @@
****************************************************************************/
#if defined(CONFIG_DUMP_ON_EXIT) && defined(CONFIG_DEBUG)
-static void _up_dumponexit(FAR _TCB *tcb, FAR void *arg)
+static void _up_dumponexit(FAR struct tcb_s *tcb, FAR void *arg)
{
#if CONFIG_NFILE_DESCRIPTORS > 0
FAR struct filelist *filelist;
@@ -137,7 +137,7 @@ static void _up_dumponexit(FAR _TCB *tcb, FAR void *arg)
void _exit(int status)
{
- _TCB* tcb;
+ struct tcb_s* tcb;
/* Disable interrupts. They will be restored when the next
* task is started.
@@ -160,7 +160,7 @@ void _exit(int status)
* head of the list.
*/
- tcb = (_TCB*)g_readytorun.head;
+ tcb = (struct tcb_s*)g_readytorun.head;
/* Then switch contexts */