X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ad5365a072943b2b0bacc486fa504e93a99ea940..a3570625c9460617ccad1803b50bc4f1793b6376:/include/xbt/asserts.h diff --git a/include/xbt/asserts.h b/include/xbt/asserts.h index fc84e416fd..6bcd2974ef 100644 --- a/include/xbt/asserts.h +++ b/include/xbt/asserts.h @@ -12,7 +12,7 @@ #include "xbt/misc.h" #include "xbt/log.h" #include "xbt/ex.h" - + SG_BEGIN_DECL() /** @@ -24,9 +24,6 @@ SG_BEGIN_DECL() * * @{ */ -XBT_PUBLIC(void) xbt_abort(void) _XBT_GNUC_NORETURN; -XBT_PUBLIC(void) xbt_die(const char *msg) _XBT_GNUC_NORETURN; - #ifdef NDEBUG #define xbt_assert(cond) #define xbt_assert0(cond,msg) @@ -55,10 +52,6 @@ XBT_PUBLIC(void) xbt_die(const char *msg) _XBT_GNUC_NORETURN; /** @hideinitializer */ #define xbt_assert6(cond,msg,a,b,c,d,e,f) if (!(cond)) THROW6(0,0,msg,a,b,c,d,e,f) #endif - - -/** @} */ - -SG_END_DECL() - +/** @} */ + SG_END_DECL() #endif /* _XBT_ASSERTS_H */