Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Simply say fun_ptr(...) instead of (*fun_ptr)(...).
[simgrid.git] / src / gras / Virtu / rl_process.c
index db5148e..f120573 100644 (file)
@@ -103,7 +103,7 @@ typedef struct {
 
 static void *spawner_wrapper(void *data) {
   spawner_wrapper_args *a = data;
-  (*(a->code))(a->argc,a->argv);
+  a->code(a->argc, a->argv);
   free(a);
   return NULL;
 }