blob: 985ce56883d55fa6b6271e294d4c660ea422ba5e [file] [log] [blame]
#include <stdio.h>
#include <stdlib.h>
/* Fake malloc/free functions that just print something. When run
under memcheck these functions will be intercepted and not print
anything. */
void *malloc ( size_t size )
{
printf ("malloc\n");
return NULL;
}
void free (void *ptr)
{
printf ("free\n");
}