A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
adding test example to trace process migration using the mask TRACE_PROCESS
[simgrid.git]
/
include
/
xbt
/
asserts.h
diff --git
a/include/xbt/asserts.h
b/include/xbt/asserts.h
index
0f3ccb7
..
6bcd297
100644
(file)
--- 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"
#include "xbt/misc.h"
#include "xbt/log.h"
#include "xbt/ex.h"
-
+
SG_BEGIN_DECL()
/**
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)
#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
/** @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 */
#endif /* _XBT_ASSERTS_H */