Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Uninstall man for simgrid
[simgrid.git] / buildtools / Cmake / test_prog / prog_mutex_timedlock.c
index c3eb72d..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);
+  pthread_mutex_t s;
+  const struct timespec t;
+  sem_timedlock(&s, &t);
+  return 0;
 }