X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2a345a1a66c80cb2005504ff440444f70ee9071d..0186c04abe93b61106c1fba50eec753f37fbddbf:/include/xbt/asserts.h?ds=inline diff --git a/include/xbt/asserts.h b/include/xbt/asserts.h index 0f3ccb7f0c..7173df7ab8 100644 --- a/include/xbt/asserts.h +++ b/include/xbt/asserts.h @@ -1,7 +1,7 @@ -/* $Id$ */ /* xbt/asserts.h -- assertion mecanism */ -/* Copyright (c) 2004,2005 Martin Quinson. All rights reserved. */ +/* Copyright (c) 2005, 2006, 2007, 2009, 2010. The SimGrid Team. + * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -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 */