From 165bcc4a0708ff3252fe73156eace36b5980dbf9 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Thu, 27 Mar 2008 12:33:31 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@249 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- src/include/semaphores.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/include') 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 -- cgit v1.2.3