tool: fit_info: 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 <ilias.apalodimas@linaro.org>
This commit is contained in:
committed by
Tom Rini
parent
3ae031135d
commit
5ab15814e8
@@ -26,7 +26,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 -n node -p property\n"
|
||||
" -f ==> set fit file which is used'\n"
|
||||
|
||||
Reference in New Issue
Block a user