From: Ilias Apalodimas Date: Fri, 29 Aug 2025 08:16:18 +0000 (+0300) Subject: tools: rkcommon: Mark rkcommon_is_header_v2() as static X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3ae031135da1f21ec22e20fac5d7ba9776487166;p=thirdparty%2Fu-boot.git tools: rkcommon: Mark rkcommon_is_header_v2() as static The function is only used locally. Enabling -Wmissing-prototypes triggers a warning. Mark it as static. Signed-off-by: Ilias Apalodimas Reviewed-by: Quentin Schulz --- diff --git a/tools/rkcommon.c b/tools/rkcommon.c index a0caa029cc0..d191ea72c63 100644 --- a/tools/rkcommon.c +++ b/tools/rkcommon.c @@ -279,7 +279,7 @@ bool rkcommon_need_rc4_spl(struct image_tool_params *params) return info->spl_rc4; } -bool rkcommon_is_header_v2(struct image_tool_params *params) +static bool rkcommon_is_header_v2(struct image_tool_params *params) { struct spl_info *info = rkcommon_get_spl_info(params->imagename);