diff --git a/sched/semaphore/semaphore.h b/sched/semaphore/semaphore.h index 55e83abbfed..d5764347a45 100644 --- a/sched/semaphore/semaphore.h +++ b/sched/semaphore/semaphore.h @@ -81,9 +81,7 @@ void sem_initialize(void); # define sem_initialize() #endif -#ifndef CONFIG_DISABLE_SIGNALS void sem_waitirq(FAR struct tcb_s *wtcb, int errcode); -#endif /* Recover semaphore resources with a task or thread is destroyed */