X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ad5365a072943b2b0bacc486fa504e93a99ea940..219621110c7f3906fa7e9bee2efe3ecab596f773:/include/xbt/asserts.h?ds=sidebyside diff --git a/include/xbt/asserts.h b/include/xbt/asserts.h index fc84e416fd..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 */