X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/883c611168c625313328529be4500714117c2bff..d15ba525d67b4ee1ae82e1ca1d71cc859e43998c:/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;