From: mquinson Date: Tue, 15 Apr 2008 15:12:57 +0000 (+0000) Subject: Propagate the change of prototype (use exceptions, not int return) of context factori... X-Git-Tag: v3.3~543 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/ac953f2bdaf78f9d77ac7e6ea4b3dc82c1e7750b Propagate the change of prototype (use exceptions, not int return) of context factories functions to the stubs too git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5344 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/xbt/xbt_sg_stubs.c b/src/xbt/xbt_sg_stubs.c index 2910a66b84..2524e6da86 100644 --- a/src/xbt/xbt_sg_stubs.c +++ b/src/xbt/xbt_sg_stubs.c @@ -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