]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
tools: imx8mimage: Mark build_image() as static
authorIlias Apalodimas <ilias.apalodimas@linaro.org>
Fri, 29 Aug 2025 08:16:21 +0000 (11:16 +0300)
committerTom Rini <trini@konsulko.com>
Tue, 9 Sep 2025 18:44:07 +0000 (12:44 -0600)
The function is only used locally. Enabling -Wmissing-prototypes
triggers a warning. Mark it as static.

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

index 0f24ba75c0fb318d658b6abac6990a64b07b79a8..fe1aff35b4dd9f32c5b235d89216db0d847d3224 100644 (file)
@@ -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;