summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlias Apalodimas <[email protected]>2025-08-29 11:16:20 +0300
committerTom Rini <[email protected]>2025-09-09 12:44:07 -0600
commit39f7af39bb2e7e03ea4621e57a976d41dcaaf0a6 (patch)
tree8a8492b0e70600ccea2885b984a025cc94e07f03
parent5ab15814e8f051968a4da8c96339ff0c80c5f811 (diff)
tools: fit_check_sign: Mark usage() 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/fit_check_sign.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/fit_check_sign.c b/tools/fit_check_sign.c
index 32d0fdb8829..ab3266aff20 100644
--- 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"