aboutsummaryrefslogtreecommitdiff
path: root/tests/test_fixtures.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2013-12-23 19:58:34 +0100
committerAndreas Schneider <asn@cryptomilk.org>2013-12-23 19:58:34 +0100
commitc2ba3eb9d659b612bddef2509083c1e32cc1105f (patch)
tree29ac327fb7e4ea08a7b80d09eacaa5e9df055ee4 /tests/test_fixtures.c
parenta950999c0266e4bfe4e4d59b72bf00318129f1a4 (diff)
downloadcmocka-c2ba3eb9d659b612bddef2509083c1e32cc1105f.tar.gz
cmocka-c2ba3eb9d659b612bddef2509083c1e32cc1105f.tar.xz
cmocka-c2ba3eb9d659b612bddef2509083c1e32cc1105f.zip
Revert "tests: Use internal allocation for test_fixtures."
This reverts commit eb3613e6b4c7b1d6d3a6593bd20ce8654e6bc5b8.
Diffstat (limited to 'tests/test_fixtures.c')
-rw-r--r--tests/test_fixtures.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_fixtures.c b/tests/test_fixtures.c
index c911bfb..757394a 100644
--- a/tests/test_fixtures.c
+++ b/tests/test_fixtures.c
@@ -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);