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
Fix the prototype of the context running wrapper to stick to the standards
[simgrid.git]
/
acmacro
/
context.m4
diff --git
a/acmacro/context.m4
b/acmacro/context.m4
index
f90eaf5
..
2c21113
100644
(file)
--- a/
acmacro/context.m4
+++ b/
acmacro/context.m4
@@
-134,10
+134,8
@@
AC_TRY_RUN([
ucontext_t uc_child;
ucontext_t uc_main;
-void child(void
*arg
)
+void child(void)
{
- if (arg != (void *)12345)
- exit(1);
if (swapcontext(&uc_child, &uc_main) != 0)
exit(2);
}