X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f9df6a0ce7023e4e22d83bb6c50f27bd21fab329..8f561fbf18e6995590fab6bc65e662e6797ff3fa:/include/xbt/synchro_core.h diff --git a/include/xbt/synchro_core.h b/include/xbt/synchro_core.h index 4a47ad5efe..c3378add56 100644 --- a/include/xbt/synchro_core.h +++ b/include/xbt/synchro_core.h @@ -35,7 +35,7 @@ SG_BEGIN_DECL() typedef struct s_smx_mutex_ *xbt_mutex_t; /** @brief Creates a new mutex variable */ -XBT_PUBLIC(xbt_mutex_t) xbt_mutex_init(); +XBT_PUBLIC(xbt_mutex_t) xbt_mutex_init(void); /** @brief Blocks onto the given mutex variable */ XBT_PUBLIC(void) xbt_mutex_acquire(xbt_mutex_t mutex); @@ -61,7 +61,7 @@ XBT_PUBLIC(void) xbt_mutex_destroy(xbt_mutex_t mutex); typedef struct s_smx_cond_ *xbt_cond_t; /** @brief Creates a condition variable */ -XBT_PUBLIC(xbt_cond_t) xbt_cond_init(); +XBT_PUBLIC(xbt_cond_t) xbt_cond_init(void); /** @brief Blocks onto the given condition variable */ XBT_PUBLIC(void) xbt_cond_wait(xbt_cond_t cond, xbt_mutex_t mutex);