Selaa lähdekoodia

minor: this function needs not be public

Cédric Augonnet 15 vuotta sitten
vanhempi
commit
6c9d9787ed
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/core/perfmodel/perfmodel_bus.c

+ 1 - 1
src/core/perfmodel/perfmodel_bus.c

@@ -139,7 +139,7 @@ static void measure_bandwith_between_host_and_dev_on_cpu(int dev, int cpu)
 }
 
 /* NB: we want to sort the bandwith by DECREASING order */
-int compar_cudadev_timing(const void *left_cudadev_timing, const void *right_cudadev_timing)
+static int compar_cudadev_timing(const void *left_cudadev_timing, const void *right_cudadev_timing)
 {
 	const struct cudadev_timing *left = left_cudadev_timing;
 	const struct cudadev_timing *right = right_cudadev_timing;