]> AND Public Git Repository - simgrid.git/blobdiff - src/simix/smx_global.c
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
make read really depend on current position in the file
[simgrid.git] / src / simix / smx_global.c
index a169f8d9e6a9a2d04014eb1b71c281427dd254d6..fffa264b7720029112193c90e3b17f43d25bc0aa 100644 (file)
@@ -191,9 +191,9 @@ void SIMIX_global_init(int *argc, char **argv)
  *
  * This functions remove the memory used by SIMIX
  */
-int cleaned = 0;
 void SIMIX_clean(void)
 {
+  static int cleaned = 0;
 #ifdef TIME_BENCH_PER_SR
   smx_ctx_raw_new_sr();
 #endif