Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
please intel compiler
authorFrederic Suter <frederic.suter@cc.in2p3.fr>
Wed, 12 Feb 2020 22:14:43 +0000 (23:14 +0100)
committerFrederic Suter <frederic.suter@cc.in2p3.fr>
Wed, 12 Feb 2020 23:33:28 +0000 (00:33 +0100)
examples/c/actor-exiting/actor-exiting.c

index 23017e7..c556c15 100644 (file)
@@ -31,7 +31,7 @@ static int my_on_exit(XBT_ATTRIB_UNUSED int ignored1, XBT_ATTRIB_UNUSED void* ig
   return 0;
 }
 
-static void actor_fun()
+static void actor_fun(XBT_ATTRIB_UNUSED int argc, XBT_ATTRIB_UNUSED char* argv[])
 {
   // Register a lambda function to be executed once it stops
   sg_actor_on_exit(&my_on_exit, NULL);