Anastasia Klimchuk has submitted this change. ( https://review.coreboot.org/c/flashrom/+/69537 )
Change subject: tests: Move test.h include ......................................................................
tests: Move test.h include
BUG=None BRANCH=None TEST=None
Change-Id: I8e0611c415c921f5b04b20270fb26e147fefd1b8 Signed-off-by: Evan Benn evanbenn@chromium.org Reviewed-on: https://review.coreboot.org/c/flashrom/+/69537 Reviewed-by: Edward O'Callaghan quasisec@chromium.org Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Anastasia Klimchuk aklm@chromium.org --- M tests/io_mock.c M tests/io_mock.h 2 files changed, 20 insertions(+), 1 deletion(-)
Approvals: build bot (Jenkins): Verified Edward O'Callaghan: Looks good to me, approved Anastasia Klimchuk: Looks good to me, approved
diff --git a/tests/io_mock.c b/tests/io_mock.c index c04e9c5..4828e53 100644 --- a/tests/io_mock.c +++ b/tests/io_mock.c @@ -14,7 +14,6 @@ * GNU General Public License for more details. */
-#include <include/test.h> #include "io_mock.h"
static const struct io_mock *current_io = NULL; diff --git a/tests/io_mock.h b/tests/io_mock.h index 3af5de4..935e84b 100644 --- a/tests/io_mock.h +++ b/tests/io_mock.h @@ -31,6 +31,8 @@ #ifndef _IO_MOCK_H_ #define _IO_MOCK_H_
+#include <include/test.h> + /* Required for `FILE *` */ #include <stdio.h>