X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ee52f84fe512219acf534c4d4654c3df56659e91..f2df13795e01302813a6aef10825ec7e922ce530:/examples/simdag/io/sd_io.c diff --git a/examples/simdag/io/sd_io.c b/examples/simdag/io/sd_io.c index 76a192b16c..990144fbc1 100644 --- a/examples/simdag/io/sd_io.c +++ b/examples/simdag/io/sd_io.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2013. The SimGrid Team. +/* Copyright (c) 2013-2014. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -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 @@ -30,11 +32,12 @@ int main(int argc, char **argv) total_nworkstations = SD_workstation_get_number(); for (ctr=0; ctr