summaryrefslogtreecommitdiff
path: root/tests/test_common.h
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2016-10-18 14:41:22 -0700
committerRandall Spangler <rspangler@chromium.org>2016-11-06 02:33:50 +0000
commit559a110f33b7ebe8d950f1c2de6b3b89791f862b (patch)
tree7853ac7a1f8a47cc981613e632f55cdc7dc33974 /tests/test_common.h
parent47eeaa6e4a03d2689c9b1b46fc9b0b0b04ace3a6 (diff)
downloadvboot-559a110f33b7ebe8d950f1c2de6b3b89791f862b.tar.gz
vboot: use malloc and free directly
Originally, vboot1 code used VbExMalloc() and VbExFree() since it needed to talk to EFI firmware that didn't have standard malloc() and free(). Now, coreboot and depthcharge implement them as wrappers around those standard calls. vboot2 code already calls them directly, so let vboot1 code do that too. BUG=chromium:611535 BRANCH=none TEST=make runtests; emerge-kevin coreboot depthcharge Change-Id: I49ad0e32e38d278dc3589bfaf494bcf0e4b0a4bd Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/400905
Diffstat (limited to 'tests/test_common.h')
-rw-r--r--tests/test_common.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/test_common.h b/tests/test_common.h
index 0e2c8d6c..25f39d9c 100644
--- a/tests/test_common.h
+++ b/tests/test_common.h
@@ -127,9 +127,6 @@ int test_succ(int result,
#define COL_RED "\x1b[0;31m"
#define COL_STOP "\x1b[m"
-/* Check that all memory allocations were freed */
-int vboot_api_stub_check_memory(void);
-
/* Abort if asprintf fails. */
#define xasprintf(...) \
do { \