From d2a5bb2104cd34497cfd36d06c02487813d9a3b5 Mon Sep 17 00:00:00 2001 From: Ilias Apalodimas Date: Mon, 7 Jul 2025 14:28:01 +0300 Subject: [PATCH] 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 --- tools/ublimage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.47.2