X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ee52f84fe512219acf534c4d4654c3df56659e91..b784c77ac5599c578f0ff00d6102222b286b0833:/examples/simdag/io/sd_io.c diff --git a/examples/simdag/io/sd_io.c b/examples/simdag/io/sd_io.c index 76a192b16c..5d3070350b 100644 --- a/examples/simdag/io/sd_io.c +++ b/examples/simdag/io/sd_io.c @@ -14,11 +14,13 @@ XBT_LOG_NEW_DEFAULT_CATEGORY(sd_io, "Logging specific to this SimDag example"); int main(int argc, char **argv) { - unsigned int ctr, ctr2; + unsigned int ctr; const SD_workstation_t *workstations; int total_nworkstations; - xbt_dynar_t current_storage_list; + xbt_dict_t current_storage_list; char *mount_name; + char *storage_name; + xbt_dict_cursor_t cursor = NULL; SD_init(&argc, argv); /* Set the workstation model to default, as storage is not supported by the @@ -31,10 +33,11 @@ int main(int argc, char **argv) for (ctr=0; ctr