Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
modernize a bit the tesh.pl by using POD and Getopt. TBC
[simgrid.git] / buildtools / Cmake / test_prog / prog_sem_init.c
index f4d3038..a745bdd 100644 (file)
@@ -8,6 +8,6 @@
 
 void main(void)
 {
-       sem_t s;
-       sem_init(&s);
+  sem_t s;
+  sem_init(&s, 0, 0);
 }