X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c0e71e07487b3ba74768918897b8ec387ef80a6a..5b894c1ff8308b97f5dafc58007074486713c9ce:/buildtools/CPACK/tmp/prog_sem_timedwait.c diff --git a/buildtools/CPACK/tmp/prog_sem_timedwait.c b/buildtools/CPACK/tmp/prog_sem_timedwait.c index 88d2e7a633..a4349e04a8 100644 --- a/buildtools/CPACK/tmp/prog_sem_timedwait.c +++ b/buildtools/CPACK/tmp/prog_sem_timedwait.c @@ -1,4 +1,8 @@ #include -sem_t *s; -const struct timespec * t; -sem_timedwait(s, t); + +int main() +{ + sem_t *s; + const struct timespec * t; + sem_timedwait(s, t); +}