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_init.c
diff --git
a/buildtools/CPACK/tmp/prog_sem_init.c
b/buildtools/CPACK/tmp/prog_sem_init.c
index
0c6bc03
..
6139c34
100644
(file)
--- a/
buildtools/CPACK/tmp/prog_sem_init.c
+++ b/
buildtools/CPACK/tmp/prog_sem_init.c
@@
-1,3
+1,7
@@
#include <semaphore.h>
-sem_t s;
-sem_init(&s);
+
+void main(void)
+{
+ sem_t s;
+ sem_init(&s);
+}