X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/1e09e1421647408f991d54848b90d9404e9154f6..a794f606622c7904c33cd6c2b1d769c185d1f81b:/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