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
Use exception where appropriate instead of integer return
[simgrid.git]
/
src
/
xbt
/
xbt_context_sysv.c
diff --git
a/src/xbt/xbt_context_sysv.c
b/src/xbt/xbt_context_sysv.c
index
9295621
..
2a36b6e
100644
(file)
--- a/
src/xbt/xbt_context_sysv.c
+++ b/
src/xbt/xbt_context_sysv.c
@@
-83,7
+83,7
@@
xbt_ctx_sysv_ex_terminate(xbt_ex_t *e)
}
\r
\r
\r
}
\r
\r
\r
-int
\r
+void
\r
xbt_ctx_sysv_factory_init(xbt_context_factory_t* factory)
\r
{
\r
/* context exception */
\r
xbt_ctx_sysv_factory_init(xbt_context_factory_t* factory)
\r
{
\r
/* context exception */
\r
@@
-97,8
+97,6
@@
xbt_ctx_sysv_factory_init(xbt_context_factory_t* factory)
/* context exception handlers */
\r
__xbt_ex_ctx = xbt_ctx_sysv_ex_ctx;
\r
__xbt_ex_terminate = xbt_ctx_sysv_ex_terminate;
\r
/* context exception handlers */
\r
__xbt_ex_ctx = xbt_ctx_sysv_ex_ctx;
\r
__xbt_ex_terminate = xbt_ctx_sysv_ex_terminate;
\r
-
\r
- return 0;
\r
}
\r
\r
static int
\r
}
\r
\r
static int
\r