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:
867d762
)
tools: rkcommon: Mark rkcommon_is_header_v2() as static
author
Ilias Apalodimas
<ilias.apalodimas@linaro.org>
Fri, 29 Aug 2025 08:16:18 +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>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
tools/rkcommon.c
patch
|
blob
|
history
diff --git
a/tools/rkcommon.c
b/tools/rkcommon.c
index
a0caa02
..
d191ea7
100644
(file)
--- a/
tools/rkcommon.c
+++ b/
tools/rkcommon.c
@@
-279,7
+279,7
@@
bool rkcommon_need_rc4_spl(struct image_tool_params *params)
return info->spl_rc4;
}
-bool rkcommon_is_header_v2(struct image_tool_params *params)
+
static
bool rkcommon_is_header_v2(struct image_tool_params *params)
{
struct spl_info *info = rkcommon_get_spl_info(params->imagename);