summaryrefslogtreecommitdiff
path: root/nuttx/sched/task_restart.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/sched/task_restart.c')
-rw-r--r--nuttx/sched/task_restart.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/sched/task_restart.c b/nuttx/sched/task_restart.c
index 00b8bf0a8..1cd575a4e 100644
--- a/nuttx/sched/task_restart.c
+++ b/nuttx/sched/task_restart.c
@@ -96,11 +96,11 @@
*
****************************************************************************/
-STATUS task_restart(pid_t pid)
+int task_restart(pid_t pid)
{
FAR _TCB *rtcb;
FAR _TCB *tcb;
- STATUS status;
+ int status;
irqstate_t state;
/* Make sure this task does not become ready-to-run while