Parcourir la source

Do not drop forward declarations

Samuel Thibault il y a 10 ans
Parent
commit
782dddbbca
1 fichiers modifiés avec 4 ajouts et 4 suppressions
  1. 4 4
      examples/heat/dw_factolu.c

+ 4 - 4
examples/heat/dw_factolu.c

@@ -25,10 +25,10 @@
 #define debug(fmt, ...)
 #endif
 
-static struct starpu_perfmodel model_11;
-static struct starpu_perfmodel model_12;
-static struct starpu_perfmodel model_21;
-static struct starpu_perfmodel model_22;
+struct starpu_perfmodel model_11;
+struct starpu_perfmodel model_12;
+struct starpu_perfmodel model_21;
+struct starpu_perfmodel model_22;
 
 static unsigned *advance_11; /* size nblocks, whether the 11 task is done */
 static unsigned *advance_12_21; /* size nblocks*nblocks */