X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7483c40fde2a363bc0a3e8a6a71b44dd7f968b5b..ddb8c73a0006792523cc465a86f9fd5894762f8d:/examples/gras/rpc/rpc.c diff --git a/examples/gras/rpc/rpc.c b/examples/gras/rpc/rpc.c index 240c27d78c..f40a4cf5d7 100644 --- a/examples/gras/rpc/rpc.c +++ b/examples/gras/rpc/rpc.c @@ -27,9 +27,9 @@ int server (int argc,char *argv[]); int forwarder (int argc,char *argv[]); int client (int argc,char *argv[]); -static void exception_raising(void) { - THROW0(unknown_error,42,"Some error we will catch on client side"); -} +#define exception_raising() \ + THROW0(unknown_error,42,"Some error we will catch on client side") + static void exception_catching(void) { int gotit = 0,i; xbt_ex_t e;