From: Ilias Apalodimas Date: Fri, 29 Aug 2025 08:16:21 +0000 (+0300) Subject: tools: imx8mimage: Mark build_image() as static X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f006837eada06cdf41b9935eb6c73618e4ae0bf0;p=thirdparty%2Fu-boot.git 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 --- 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;