git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ab1581
)
tools: fit_check_sign: Mark usage() as static
author
Ilias Apalodimas
<ilias.apalodimas@linaro.org>
Fri, 29 Aug 2025 08:16:20 +0000
(11:16 +0300)
committer
Tom 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/fit_check_sign.c
patch
|
blob
|
history
diff --git
a/tools/fit_check_sign.c
b/tools/fit_check_sign.c
index
32d0fdb
..
ab3266a
100644
(file)
--- a/
tools/fit_check_sign.c
+++ b/
tools/fit_check_sign.c
@@
-23,7
+23,7
@@
#include <image.h>
#include <u-boot/crc.h>
-void usage(char *cmdname)
+
static
void usage(char *cmdname)
{
fprintf(stderr, "Usage: %s -f fit file -k key file -c config name\n"
" -f ==> set fit file which should be checked'\n"