forked from OERV-BSP/u-boot
tools: fdtgrep: Mark util_version() 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
ae2cd1b52d
commit
3c34fd46b6
@@ -1109,7 +1109,7 @@ void util_usage(const char *errmsg, const char *synopsis,
|
||||
util_usage(errmsg, usage_synopsis, usage_short_opts, \
|
||||
usage_long_opts, usage_opts_help)
|
||||
|
||||
void util_version(void)
|
||||
static void util_version(void)
|
||||
{
|
||||
printf("Version: %s\n", "(U-Boot)");
|
||||
exit(0);
|
||||
|
||||
Reference in New Issue
Block a user