Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Pass with all flags.
[simgrid.git] / buildtools / CPACK / prog_test / prog_AC_CHECK_MCSC.c
index 841f771..4cd27ed 100644 (file)
@@ -2,9 +2,13 @@
 #include <stdlib.h>
 #include <ucontext.h>
 
+void child(void);
+
 ucontext_t uc_child;
 ucontext_t uc_main;
 
+
+
 void child(void)
 {
     if (swapcontext(&uc_child, &uc_main) != 0)
@@ -45,4 +49,5 @@ int main(int argc, char *argv[])
 
     /* die successfully */
     exit(0);
+       return 1;
 }