From 4c228f24fdbd27e411d3fe49723908c98eb4a3d4 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 28 Dec 2014 14:54:40 -0600 Subject: Semahores: Remove a warning with SIGNALS are disabled --- nuttx/sched/semaphore/semaphore.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/nuttx/sched/semaphore/semaphore.h b/nuttx/sched/semaphore/semaphore.h index 55e83abbf..d5764347a 100644 --- a/nuttx/sched/semaphore/semaphore.h +++ b/nuttx/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 */ -- cgit v1.2.3