diff options
| author | Ilias Apalodimas <[email protected]> | 2025-08-29 11:16:17 +0300 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-09-09 12:44:07 -0600 |
| commit | 867d762bc515850b00245cbcf21cf2b2d39a2a5d (patch) | |
| tree | a086d4d020f7b59bff335a8c15e93dec90030db2 | |
| parent | 9fe4e088f3d2ba15323ae4bff7f6b592152e326c (diff) | |
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 <[email protected]>
| -rw-r--r-- | tools/mkimage.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
