task_restart.c:Fix style errors.
This commit is contained in:
parent
d986157bf3
commit
5e4a3223a4
@ -115,7 +115,8 @@ int task_restart(pid_t pid)
|
|||||||
|
|
||||||
tcb = (FAR struct task_tcb_s *)sched_gettcb(pid);
|
tcb = (FAR struct task_tcb_s *)sched_gettcb(pid);
|
||||||
#ifndef CONFIG_DISABLE_PTHREAD
|
#ifndef CONFIG_DISABLE_PTHREAD
|
||||||
if (!tcb || (tcb->cmn.flags & TCB_FLAG_TTYPE_MASK) == TCB_FLAG_TTYPE_PTHREAD)
|
if (!tcb || (tcb->cmn.flags & TCB_FLAG_TTYPE_MASK) ==
|
||||||
|
TCB_FLAG_TTYPE_PTHREAD)
|
||||||
#else
|
#else
|
||||||
if (!tcb)
|
if (!tcb)
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user