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
Restore explicitely defined constructor (with empty body).
[simgrid.git]
/
teshsuite
/
msg
/
process-lifetime
/
process-lifetime.c
diff --git
a/teshsuite/msg/process-lifetime/process-lifetime.c
b/teshsuite/msg/process-lifetime/process-lifetime.c
index
602e1af
..
afa3c7f
100644
(file)
--- a/
teshsuite/msg/process-lifetime/process-lifetime.c
+++ b/
teshsuite/msg/process-lifetime/process-lifetime.c
@@
-19,6
+19,7
@@
static int my_onexit(XBT_ATTRIB_UNUSED int ignored1, XBT_ATTRIB_UNUSED void* ign
/* Just sleep until termination */
static int sleeper(int argc, char* argv[])
{
+ xbt_assert(argc == 2);
XBT_INFO("Hello! I go to sleep.");
MSG_process_on_exit(my_onexit, NULL);