Browse Source

Avoid variable clash

Samuel Thibault 10 years ago
parent
commit
a85ebaeb3d
1 changed files with 1 additions and 1 deletions
  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
 	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
 #ifdef STARPU_USE_CPU
 	STARPU_CPU,
 	STARPU_CPU,