From 90671fa6d2d3d48fab6408c7493be61bcee5868e Mon Sep 17 00:00:00 2001 From: Joel Kitching Date: Wed, 31 Jul 2019 13:17:08 +0800 Subject: vboot: rename VbError_t typedef to vb2_error_t As part of the conversion of error codes from vboot1 to vboot2, replace all instances of VbError_t with vb2_error_t. vboot2 currently uses the int type for return values, but we would like to implement the use of vb2_error_t instead, which is potentially clearer than simply using an int. Existing functions will be converted to use vb2_error_t in a subsequent CL. BUG=b:124141368, chromium:988410 TEST=make clean && make runtests BRANCH=none Change-Id: Iee90d9a1f46bcf5f088e981ba6ddbcf886ff0f18 Signed-off-by: Joel Kitching Cq-Depend: chromium:1728112 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/1722914 Reviewed-by: Julius Werner Commit-Queue: Joel Kitching Tested-by: Joel Kitching --- firmware/lib/include/vboot_ui_menu_private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/lib/include/vboot_ui_menu_private.h') diff --git a/firmware/lib/include/vboot_ui_menu_private.h b/firmware/lib/include/vboot_ui_menu_private.h index aef2dff6..b92fb5da 100644 --- a/firmware/lib/include/vboot_ui_menu_private.h +++ b/firmware/lib/include/vboot_ui_menu_private.h @@ -13,7 +13,7 @@ struct vb2_menu_item { const char *text; - VbError_t (*action)(struct vb2_context *ctx); + vb2_error_t (*action)(struct vb2_context *ctx); }; struct vb2_menu { -- cgit v1.2.1