Revert "tests: Use internal allocation for test_fixtures."
authorAndreas Schneider <asn@cryptomilk.org>
Mon, 23 Dec 2013 18:58:34 +0000 (19:58 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Mon, 23 Dec 2013 18:58:34 +0000 (19:58 +0100)
This reverts commit eb3613e6b4c7b1d6d3a6593bd20ce8654e6bc5b8.

tests/test_fixtures.c

index c911bfb..757394a 100644 (file)
@@ -1,10 +1,10 @@
-#define UNIT_TESTING 1
-
 #include <stdarg.h>
 #include <stddef.h>
 #include <setjmp.h>
 #include <cmocka.h>
 
+#include <stdlib.h>
+
 static void setup_only(void **state)
 {
     *state = malloc(1);