From ac953f2bdaf78f9d77ac7e6ea4b3dc82c1e7750b Mon Sep 17 00:00:00 2001 From: mquinson Date: Tue, 15 Apr 2008 15:12:57 +0000 Subject: [PATCH] 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 --- src/xbt/xbt_sg_stubs.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 -- 2.20.1