summaryrefslogtreecommitdiff
path: root/host
diff options
context:
space:
mode:
authorJoel Kitching <kitching@google.com>2019-06-25 16:11:45 +0800
committerCommit Bot <commit-bot@chromium.org>2019-06-26 14:24:47 +0000
commit98b00ae762cd99aec82757600185b2ae94cdb85f (patch)
tree51c48bcf1b3b4edb01499d584df35f9cca13d1d9 /host
parent9e9619fd4adeeb9409b3ddd25c48c7ff8e7158d6 (diff)
downloadvboot-98b00ae762cd99aec82757600185b2ae94cdb85f.tar.gz
vboot: remove vboot1 version of ARRAY_SIZE macro
Macro already exists in vboot2-style 2common.h. Relocate tests accordingly. BUG=b:124141368 TEST=make clean && make runtests BRANCH=none Change-Id: I6b96627a05e8c05ff49b8780fe4472890c2a2043 Signed-off-by: Joel Kitching <kitching@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/1675869 Reviewed-by: Joel Kitching <kitching@chromium.org> Tested-by: Joel Kitching <kitching@chromium.org> Commit-Queue: Joel Kitching <kitching@chromium.org>
Diffstat (limited to 'host')
-rw-r--r--host/lib/crossystem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/crossystem.c b/host/lib/crossystem.c
index 1eb540a3..2b13258f 100644
--- a/host/lib/crossystem.c
+++ b/host/lib/crossystem.c
@@ -18,6 +18,7 @@
#include "2sysincludes.h"
#include "2api.h"
+#include "2common.h"
#include "2nvstorage.h"
#include "host_common.h"
@@ -26,7 +27,6 @@
#include "crossystem_arch.h"
#include "crossystem_vbnv.h"
#include "utility.h"
-#include "vboot_common.h"
#include "vboot_struct.h"
/* Filename for kernel command line */