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:
bcc8d24
)
tools: mkenvimage: Make xstrtol() static
author
Ilias Apalodimas
<ilias.apalodimas@linaro.org>
Mon, 7 Jul 2025 11:25:06 +0000
(14:25 +0300)
committer
Tom Rini
<trini@konsulko.com>
Mon, 14 Jul 2025 21:16:35 +0000
(15:16 -0600)
This 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/mkenvimage.c
patch
|
blob
|
history
diff --git
a/tools/mkenvimage.c
b/tools/mkenvimage.c
index
885cdb1
..
944ec82
100644
(file)
--- a/
tools/mkenvimage.c
+++ b/
tools/mkenvimage.c
@@
-47,7
+47,7
@@
static void usage(const char *exec_name)
exec_name);
}
-long int xstrtol(const char *s)
+
static
long int xstrtol(const char *s)
{
long int tmp;