summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/include/tests/lib/cbfs_util.h3
-rw-r--r--tests/include/tests/test.h3
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/include/tests/lib/cbfs_util.h b/tests/include/tests/lib/cbfs_util.h
index 847594638234..64096d285fbc 100644
--- a/tests/include/tests/lib/cbfs_util.h
+++ b/tests/include/tests/lib/cbfs_util.h
@@ -44,9 +44,6 @@ struct cbfs_test_file {
#define HASH_ATTR_SIZE (offsetof(struct cbfs_file_attr_hash, hash.raw) + VB2_SHA256_DIGEST_SIZE)
-/* This macro basically does nothing but suppresses linter messages */
-#define EMPTY_WRAP(...) __VA_ARGS__
-
#define TEST_DATA_1_FILENAME "test/data/1"
#define TEST_DATA_1_SIZE sizeof((u8[]){TEST_DATA_1})
#define TEST_DATA_1 EMPTY_WRAP( \
diff --git a/tests/include/tests/test.h b/tests/include/tests/test.h
index 523f8fafe967..45b542ed9f1f 100644
--- a/tests/include/tests/test.h
+++ b/tests/include/tests/test.h
@@ -14,6 +14,9 @@
#include <setjmp.h>
#include <cmocka.h>
+/* This macro basically does nothing but suppresses linter messages */
+#define EMPTY_WRAP(...) __VA_ARGS__
+
/*
* Set symbol value and make it global.
*/