From 3ae031135da1f21ec22e20fac5d7ba9776487166 Mon Sep 17 00:00:00 2001 From: Ilias Apalodimas Date: Fri, 29 Aug 2025 11:16:18 +0300 Subject: [PATCH] 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 --- tools/rkcommon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.47.3