summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorIlias Apalodimas <[email protected]>2025-08-29 11:16:18 +0300
committerTom Rini <[email protected]>2025-09-09 12:44:07 -0600
commit3ae031135da1f21ec22e20fac5d7ba9776487166 (patch)
tree9d5b1c2a23cb16023f2b5a81bf71bec86c57d135 /tools
parent867d762bc515850b00245cbcf21cf2b2d39a2a5d (diff)
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 <[email protected]> Reviewed-by: Quentin Schulz <[email protected]>
Diffstat (limited to 'tools')
-rw-r--r--tools/rkcommon.c2
1 files changed, 1 insertions, 1 deletions
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);