From f006837eada06cdf41b9935eb6c73618e4ae0bf0 Mon Sep 17 00:00:00 2001 From: Ilias Apalodimas Date: Fri, 29 Aug 2025 11:16:21 +0300 Subject: [PATCH] tools: imx8mimage: Mark build_image() as static The function is only used locally. Enabling -Wmissing-prototypes triggers a warning. Mark it as static. Signed-off-by: Ilias Apalodimas --- tools/imx8mimage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/imx8mimage.c b/tools/imx8mimage.c index 0f24ba75c0f..fe1aff35b4d 100644 --- a/tools/imx8mimage.c +++ b/tools/imx8mimage.c @@ -475,7 +475,7 @@ static int generate_fspi_header (int ifd) } #endif -void build_image(int ofd) +static void build_image(int ofd) { int file_off, header_hdmi_off = 0, header_image_off; -- 2.47.3