Просмотр исходного кода

use the proper function type for the dummy codelet

Cédric Augonnet лет назад: 15
Родитель
Сommit
5a60ba94e4
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      examples/tag_example/tag_example3.c

+ 1 - 1
examples/tag_example/tag_example3.c

@@ -100,7 +100,7 @@ static void create_task_grid(unsigned iter)
 
 }
 
-void cpu_codelet(void *_args __attribute__ ((unused)))
+void cpu_codelet(void *descr[], void *_args __attribute__ ((unused)))
 {
 }