Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
added return value for MSG_sem_get_capacity
[simgrid.git] / src / msg / msg_synchro.cpp
index ff5d328..fa46da9 100644 (file)
@@ -46,8 +46,8 @@ void MSG_sem_release(msg_sem_t sem) {
   simcall_sem_release(sem);
 }
 
-void MSG_sem_get_capacity(msg_sem_t sem) {
-  simcall_sem_get_capacity(sem);
+int MSG_sem_get_capacity(msg_sem_t sem) {
+  return simcall_sem_get_capacity(sem);
 }
 
 void MSG_sem_destroy(msg_sem_t sem) {