Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use exception where appropriate instead of integer return
[simgrid.git] / src / xbt / xbt_context_sysv.c
index 9295621..2a36b6e 100644 (file)
@@ -83,7 +83,7 @@ xbt_ctx_sysv_ex_terminate(xbt_ex_t *e)
 }\r
 \r
 \r
-int\r
+void\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
-    \r
-       return 0;\r
 }\r
 \r
 static int \r