summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJoel Kitching <kitching@google.com>2019-04-25 15:41:35 +0800
committerchrome-bot <chrome-bot@chromium.org>2019-05-17 18:36:46 -0700
commit8a4f0bef0ec665a24ca3a01b2ee6915e2e392a18 (patch)
tree75688b45ec9fa1a988ee330fce05390691e6f5ad /tests
parente7db36856ce418552637d1981c173d22dfe5bf39 (diff)
downloadvboot-8a4f0bef0ec665a24ca3a01b2ee6915e2e392a18.tar.gz
vboot: hide 2common.h from external API
2common.h contains code which should be internal to vboot. Most notably of which is 2struct.h, which contains the vb2_shared_data data structure. BUG=b:124141368, chromium:956474 TEST=make clean && make runtests BRANCH=none Cq-Depend: chromium:1587981, chromium:1599567, chromium:1610164 Change-Id: I712f51915bb9b0b03dce558e2b843eb83662f434 Signed-off-by: Joel Kitching <kitching@google.com> Reviewed-on: https://chromium-review.googlesource.com/1583819 Commit-Ready: Joel Kitching <kitching@chromium.org> Tested-by: Joel Kitching <kitching@chromium.org> Reviewed-by: Joel Kitching <kitching@chromium.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/vboot_api_devmode_tests.c2
-rw-r--r--tests/vboot_api_kernel_tests.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/vboot_api_devmode_tests.c b/tests/vboot_api_devmode_tests.c
index 9d20e322..286972c2 100644
--- a/tests/vboot_api_devmode_tests.c
+++ b/tests/vboot_api_devmode_tests.c
@@ -11,7 +11,7 @@
#include <stdlib.h>
#include "2sysincludes.h"
-#include "2api.h"
+#include "2common.h"
#include "2misc.h"
#include "2nvstorage.h"
#include "crc32.h"
diff --git a/tests/vboot_api_kernel_tests.c b/tests/vboot_api_kernel_tests.c
index 1bc2c9aa..92f6dcc9 100644
--- a/tests/vboot_api_kernel_tests.c
+++ b/tests/vboot_api_kernel_tests.c
@@ -11,7 +11,7 @@
#include <stdlib.h>
#include "2sysincludes.h"
-#include "2api.h"
+#include "2common.h"
#include "2nvstorage.h"
#include "gbb_header.h"
#include "load_kernel_fw.h"