Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
merge branches
[simgrid.git] / buildtools / Cmake / test_prog / prog_mutex_timedlock.c
index 1b0664a..8c394ed 100644 (file)
@@ -6,9 +6,10 @@
 
 #include <pthread.h>
 
-void main(void)
+int main(void)
 {
   pthread_mutex_t s;
   const struct timespec t;
   sem_timedlock(&s, &t);
+  return 0;
 }