#include <sys/types.h>
#include <stdio.h>
-#include "marker.h"
+#include <ust/marker.h>
#if 0
INTERCEPT_PROTOTYPE(void, malloc, size_t size)
plibc_free = dlsym(RTLD_NEXT, "free");
if(plibc_free == NULL) {
fprintf(stderr, "mallocwrap: unable to find free\n");
- return NULL;
+ return;
}
}
trace_mark(ust, free, "%p", ptr);
- return plibc_free(ptr);
+ plibc_free(ptr);
}
MARKER_LIB