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:
2115ec5
)
tools: ublimage: Make ublimage_check_params() static
author
Ilias Apalodimas
<ilias.apalodimas@linaro.org>
Mon, 7 Jul 2025 11:28:01 +0000
(14:28 +0300)
committer
Tom Rini
<trini@konsulko.com>
Mon, 14 Jul 2025 21:16:38 +0000
(15:16 -0600)
This functions is only used locally and triggers a warning when
compiling with -Wmissing-prototypes. Mark it as static.
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
tools/ublimage.c
patch
|
blob
|
history
diff --git
a/tools/ublimage.c
b/tools/ublimage.c
index
a1bd807
..
8926d5b
100644
(file)
--- a/
tools/ublimage.c
+++ b/
tools/ublimage.c
@@
-219,7
+219,7
@@
static void ublimage_set_header(void *ptr, struct stat *sbuf, int ifd,
parse_cfg_file(ublhdr, params->imagename);
}
-int ublimage_check_params(struct image_tool_params *params)
+
static
int ublimage_check_params(struct image_tool_params *params)
{
if (!params)
return CFG_INVALID;