X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8afc2600f02d2978910a7e4f5d59895de33604be..a2a8bc74f885b1131b2b419651eb3a64b6e2a60d:/include/xbt/sysdep.h diff --git a/include/xbt/sysdep.h b/include/xbt/sysdep.h index 322833eb41..a83db8d78f 100644 --- a/include/xbt/sysdep.h +++ b/include/xbt/sysdep.h @@ -101,11 +101,8 @@ static XBT_INLINE void *xbt_realloc(void*p,int s){ /** @brief like free @hideinitializer */ -XBT_PUBLIC(void) xbt_free_f(void* p) -{ - free(p); -} - +XBT_PUBLIC(void) xbt_free_f(void* p); + /** @brief like calloc, but xbt_die() on error and don't memset to 0 @hideinitializer */ #define xbt_new(type, count) ((type*)xbt_malloc (sizeof (type) * (count)))