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:
ae2cd1b
)
tools: fdtgrep: Mark util_version() as static
author
Ilias Apalodimas
<ilias.apalodimas@linaro.org>
Fri, 29 Aug 2025 08:16:15 +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/fdtgrep.c
patch
|
blob
|
history
diff --git
a/tools/fdtgrep.c
b/tools/fdtgrep.c
index
037176b
..
6372def
100644
(file)
--- a/
tools/fdtgrep.c
+++ b/
tools/fdtgrep.c
@@
-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);