Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Do throw an exception only when the requested factory was not found, not all the...
[simgrid.git] / src / xbt / xbt_context_thread.c
index e39ff91..ae325cf 100644 (file)
@@ -60,7 +60,7 @@ xbt_ctx_thread_resume(xbt_context_t context);
 static void* \r
 xbt_ctx_thread_wrapper(void* param);\r
 \r
-int\r
+void\r
 xbt_ctx_thread_factory_init(xbt_context_factory_t* factory)\r
 {\r
        *factory = xbt_new0(s_xbt_context_factory_t,1);\r
@@ -69,8 +69,6 @@ xbt_ctx_thread_factory_init(xbt_context_factory_t* factory)
        (*factory)->finalize = xbt_ctx_thread_factory_finalize;\r
        (*factory)->create_maestro_context = xbt_ctx_thread_factory_create_master_context;\r
        (*factory)->name = "ctx_thread_factory";\r
-\r
-       return 0;\r
 }\r
 \r
 static int\r