#include "xbt/heap.h"
#include "gras/virtu.h" /* time manipulation in bench */
+#include "xbt/sysdep.h" /* calloc, printf */
+
#define MAX_TEST 1000000
#ifdef __BORLANDC__
void test_heap_validity(int size)
{
xbt_heap_t heap = xbt_heap_new(size, NULL);
- double *tab = (double*)calloc(size,sizeof(double));
+ double *tab = xbt_new0(double,size);
int i;