]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
tools: rkcommon: Mark rkcommon_is_header_v2() as static
authorIlias Apalodimas <ilias.apalodimas@linaro.org>
Fri, 29 Aug 2025 08:16:18 +0000 (11:16 +0300)
committerTom Rini <trini@konsulko.com>
Tue, 9 Sep 2025 18:44:07 +0000 (12:44 -0600)
The function is only used locally. Enabling -Wmissing-prototypes
triggers a warning. Mark it as static.

Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
tools/rkcommon.c

index a0caa029cc04b7421f511e0dcf0bd05b0a729ebb..d191ea72c6338de8efbc7a63d848d670c088e4ed 100644 (file)
@@ -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);