forked from OERV-BSP/u-boot
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 <ilias.apalodimas@linaro.org>
This commit is contained in:
committed by
Tom Rini
parent
9fe4e088f3
commit
867d762bc5
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user