Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
now contains only xbt_free_f declaration
authorcherierm <cherierm@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 7 Feb 2007 15:54:24 +0000 (15:54 +0000)
committercherierm <cherierm@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 7 Feb 2007 15:54:24 +0000 (15:54 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3099 48e7efb5-ca39-0410-a469-dd3cf9ba447f

include/xbt/sysdep.h

index 322833e..a83db8d 100644 (file)
@@ -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)))