diff --git a/tests/include/tests/lib/cbfs_util.h b/tests/include/tests/lib/cbfs_util.h index 8475946382..64096d285f 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 523f8fafe9..45b542ed9f 100644 --- a/tests/include/tests/test.h +++ b/tests/include/tests/test.h @@ -14,6 +14,9 @@ #include #include +/* This macro basically does nothing but suppresses linter messages */ +#define EMPTY_WRAP(...) __VA_ARGS__ + /* * Set symbol value and make it global. */