]> AND Public Git Repository - simgrid.git/blobdiff - buildtools/Cmake/test_prog/prog_mutex_timedlock.c
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
merge branches
[simgrid.git] / buildtools / Cmake / test_prog / prog_mutex_timedlock.c
index c3eb72d34e09ba54d2014eba1e8f35884ea04cc1..8c394edeba2bb003a722a2e794f0cf8a44959a0f 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;
 }