From 867d762bc515850b00245cbcf21cf2b2d39a2a5d Mon Sep 17 00:00:00 2001 From: Ilias Apalodimas Date: Fri, 29 Aug 2025 11:16:17 +0300 Subject: [PATCH] tools: mkimage: Mark copy_datafile() as static The function is only used locally. Enabling -Wmissing-prototypes triggers a warning. Mark it as static. Signed-off-by: Ilias Apalodimas --- tools/mkimage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/mkimage.c b/tools/mkimage.c index 361711c53b2..847453970ab 100644 --- a/tools/mkimage.c +++ b/tools/mkimage.c @@ -445,7 +445,7 @@ static void verify_image(const struct image_type_params *tparams) (void)close(ifd); } -void copy_datafile(int ifd, char *file) +static void copy_datafile(int ifd, char *file) { if (!file) return; -- 2.47.3