Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix the prototype of the context running wrapper to stick to the standards
[simgrid.git] / acmacro / context.m4
index f90eaf5..2c21113 100644 (file)
@@ -134,10 +134,8 @@ AC_TRY_RUN([
 ucontext_t uc_child;
 ucontext_t uc_main;
 
-void child(void *arg)
+void child(void)
 {
-    if (arg != (void *)12345)
-        exit(1);
     if (swapcontext(&uc_child, &uc_main) != 0)
         exit(2);
 }