X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/22e6546d2c6f14864cc93c4ed1470d8e8c1e2d95..a250bd9db089b639e2298265b21577765a51f1bc:/include/xbt/ex.h diff --git a/include/xbt/ex.h b/include/xbt/ex.h index b475442203..78ade076cc 100644 --- a/include/xbt/ex.h +++ b/include/xbt/ex.h @@ -92,7 +92,8 @@ XBT_PUBLIC(const char *) xbt_ex_catname(xbt_errcat_t cat); typedef struct xbt_ex xbt_ex_t; /** Helper function used to throw exceptions in C */ -XBT_PUBLIC(void) _xbt_throw(char* message, xbt_errcat_t errcat, int value, const char* file, int line, const char* func) XBT_ATTRIB_NORETURN; +XBT_ATTRIB_NORETURN XBT_PUBLIC(void) + _xbt_throw(char* message, xbt_errcat_t errcat, int value, const char* file, int line, const char* func); /** Builds and throws an exception * @ingroup XBT_ex_c