From: Ilias Apalodimas Date: Mon, 7 Jul 2025 11:28:01 +0000 (+0300) Subject: tools: ublimage: Make ublimage_check_params() static X-Git-Tag: v2025.10-rc1~73 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d2a5bb2104cd34497cfd36d06c02487813d9a3b5;p=thirdparty%2Fu-boot.git tools: ublimage: Make ublimage_check_params() static This functions is only used locally and triggers a warning when compiling with -Wmissing-prototypes. Mark it as static. Signed-off-by: Ilias Apalodimas --- diff --git a/tools/ublimage.c b/tools/ublimage.c index a1bd807bfa0..8926d5b178b 100644 --- a/tools/ublimage.c +++ b/tools/ublimage.c @@ -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;