Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
now contains xbt_free_f implementation
[simgrid.git] / src / xbt / sysdep.c
index 58bdb0f..ebb2455 100644 (file)
 #include "xbt/sysdep.h"
 #include "xbt/xbt_portability.h" /* private */
 #include "xbt/log.h"
-#include "xbt/error.h"
 #include "portable.h"
 
 
+/** @brief like free 
+    @hideinitializer */
+XBT_PUBLIC(void) xbt_free_f(void* p)
+{
+       free(p);
+}
+
+
 /* TSC (tick-level) timers are said to be unreliable on SMP hosts and thus 
    disabled in SDL source code */ 
 
@@ -38,7 +45,7 @@ double xbt_os_time(void) {
 #endif /* HAVE_GETTIMEOFDAY? */        
 }
 
-XBT_LOG_NEW_DEFAULT_SUBCATEGORY(sysdep, xbt, "System dependency");
+/*XBT_LOG_NEW_DEFAULT_SUBCATEGORY(sysdep, xbt, "System dependency");*/
 
 
 struct s_xbt_os_timer {