sched: Fix the nxstyle errors in sem_post.c and sig_dispatch.c.

Add the blank line nxstyle wants after three declarations.  No code
change.

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Marco Casaroli <marco.casaroli@gmail.com>
This commit is contained in:
Marco Casaroli 2026-09-29 14:53:14 +02:00 • committed by archer
parent 42e4c88ef6
commit 2f459314a0
2 changed files with 3 additions and 0 deletions

View file

@ -209,6 +209,7 @@ int nxsem_post_slow(FAR sem_t *sem)
{
uint32_t blocking_bit = dq_empty(SEM_WAITLIST(sem)) ?
0 : NXSEM_MBLOCKING_BIT;
atomic_set(NXSEM_MHOLDER(sem),
((uint32_t)stcb->pid) | blocking_bit);
}

View file

@ -788,6 +788,7 @@ int nxsig_dispatch(pid_t pid, FAR siginfo_t *info, bool thread)
*/
FAR struct task_group_s *group = task_getgroup(pid);
if (group != NULL)
{
return group_signal(group, info);
@ -799,6 +800,7 @@ int nxsig_dispatch(pid_t pid, FAR siginfo_t *info, bool thread)
/* Get the TCB associated with the thread TID */
FAR struct tcb_s *stcb = nxsched_get_tcb(pid);
if (stcb != NULL)
{
return nxsig_tcbdispatch(stcb, info, false);