Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Gras listener thread of each process do select(-1) instead of while(1) {select(0.5)}
[simgrid.git] / src / gras / Msg / gras_msg_mod.c
index 2ae723f..185a07e 100644 (file)
@@ -19,7 +19,7 @@ extern xbt_set_t _gras_msgtype_set;
 /*
  * Creating procdata for this module
  */
-static void *gras_msg_procdata_new() {
+static void *gras_msg_procdata_new(void) {
    gras_msg_procdata_t res = xbt_new(s_gras_msg_procdata_t,1);
    
    res->name = xbt_strdup("gras_msg");