The function is only used locally. Enabling -Wmissing-prototypes
triggers a warning. Mark it as static.

Signed-off-by: Ilias Apalodimas <ilias.apalodi...@linaro.org>
---
 tools/imx8mimage.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/imx8mimage.c b/tools/imx8mimage.c
index 0f24ba75c0fb..fe1aff35b4dd 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.50.1

Reply via email to