Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Make the gras.h with cmake.
[simgrid.git] / buildtools / CPACK / tmp / prog_sem_init.c
index 0c6bc03..6139c34 100644 (file)
@@ -1,3 +1,7 @@
 #include <semaphore.h>
-sem_t s;
-sem_init(&s);
+
+void main(void)
+{
+       sem_t s;
+       sem_init(&s);
+}