diff options
Diffstat (limited to 'src/include/semaphores.h')
-rw-r--r-- | src/include/semaphores.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/semaphores.h b/src/include/semaphores.h index c894629a4..45486874b 100644 --- a/src/include/semaphores.h +++ b/src/include/semaphores.h @@ -51,7 +51,9 @@ extern "C" { #endif
void chSemSignal(Semaphore *sp);
void chSemSignalI(Semaphore *sp);
- void chSemSignalWait(Semaphore *sps, Semaphore *spw);
+#ifdef CH_USE_SEMSW
+ msg_t chSemSignalWait(Semaphore *sps, Semaphore *spw);
+#endif
#ifdef __cplusplus
}
#endif
|