Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove XBT_INLINE here, some compilers don't like it.
authorArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Fri, 4 Oct 2013 15:26:20 +0000 (17:26 +0200)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Fri, 4 Oct 2013 21:05:56 +0000 (23:05 +0200)
src/simix/smx_synchro.c

index cd9645b..c9d14d0 100644 (file)
@@ -466,7 +466,7 @@ void SIMIX_sem_release(smx_sem_t sem)
 }
 
 /** @brief Returns true if acquiring this semaphore would block */
-XBT_INLINE int SIMIX_sem_would_block(smx_sem_t sem)
+int SIMIX_sem_would_block(smx_sem_t sem)
 {
   XBT_IN("(%p)",sem);
   XBT_OUT();