Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Propagate the change of prototype (use exceptions, not int return) of context factori...
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 15 Apr 2008 15:12:57 +0000 (15:12 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 15 Apr 2008 15:12:57 +0000 (15:12 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5344 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/xbt/xbt_sg_stubs.c

index 2910a66..2524e6d 100644 (file)
@@ -106,7 +106,5 @@ void xbt_os_cond_destroy(xbt_os_cond_t cond){
 
 #ifndef HAVE_JAVA
 #include "xbt/xbt_context_private.h"
-int xbt_ctx_java_factory_init(xbt_context_factory_t* factory) {
-   return -1;
-}
+void xbt_ctx_java_factory_init(xbt_context_factory_t* factory) {}
 #endif