Explorar el Código

Avoid variable clash

Samuel Thibault hace 10 años
padre
commit
a85ebaeb3d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      include/schedulers/starpu_heteroprio.h

+ 1 - 1
include/schedulers/starpu_heteroprio.h

@@ -51,7 +51,7 @@ enum starpu_heteroprio_types
 	STARPU_NB_TYPES
 };
 
-const unsigned starpu_heteroprio_types_to_arch[STARPU_NB_TYPES+1] =
+static const unsigned starpu_heteroprio_types_to_arch[STARPU_NB_TYPES+1] =
 {
 #ifdef STARPU_USE_CPU
 	STARPU_CPU,