]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
tools: ublimage: Make ublimage_check_params() static
authorIlias Apalodimas <ilias.apalodimas@linaro.org>
Mon, 7 Jul 2025 11:28:01 +0000 (14:28 +0300)
committerTom Rini <trini@konsulko.com>
Mon, 14 Jul 2025 21:16:38 +0000 (15:16 -0600)
This functions is only used locally and triggers a warning when
compiling with -Wmissing-prototypes. Mark it as static.

Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
tools/ublimage.c

index a1bd807bfa03069d6dc0c7cacf21db9532ce5cdf..8926d5b178b6fdf0c861083eccd64d7f8509fd71 100644 (file)
@@ -219,7 +219,7 @@ static void ublimage_set_header(void *ptr, struct stat *sbuf, int ifd,
        parse_cfg_file(ublhdr, params->imagename);
 }
 
-int ublimage_check_params(struct image_tool_params *params)
+static int ublimage_check_params(struct image_tool_params *params)
 {
        if (!params)
                return CFG_INVALID;