A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make the gras.h with cmake.
[simgrid.git]
/
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
88d2e7a
..
a4349e0
100644
(file)
--- a/
buildtools/CPACK/tmp/prog_sem_timedwait.c
+++ b/
buildtools/CPACK/tmp/prog_sem_timedwait.c
@@
-1,4
+1,8
@@
#include <semaphore.h>
-sem_t *s;
-const struct timespec * t;
-sem_timedwait(s, t);
+
+int main()
+{
+ sem_t *s;
+ const struct timespec * t;
+ sem_timedwait(s, t);
+}