fix unit tests when printf is a macro
MODIFY
test/unittests/unit_list.c
test/unittests/unit_list.c
@@ -33,6 +33,7 @@ void __wrap_exit(int status) {
}
/* ignore all printfs */
+#undef printf
extern int printf(const char *format, ...);
extern int __real_printf(const char *format, ...);
int __wrap_printf(const char *format, ...);

MODIFY
test/unittests/unit_maybe_alloc.c
test/unittests/unit_maybe_alloc.c
@@ -33,6 +33,7 @@ void __wrap_exit(int status) {
int __wrap_printf(const char *format, ...);
/* ignore all printfs */
+#undef printf
extern int printf(const char *format, ...);
extern int __real_printf(const char *format, ...);
int __wrap_printf(const char *format, ...) {

MODIFY
test/unittests/unit_preallocable.c
test/unittests/unit_preallocable.c
@@ -33,6 +33,7 @@ void __wrap_exit(int status) {
}
/* ignore all printfs */
+#undef printf
extern int printf(const char *format, ...);
extern int __real_printf(const char *format, ...);
int __wrap_printf(const char *format, ...);

fix unit tests when printf is a macro