projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1531034
)
mkimage: Make 'params' static
author
Simon Glass
<sjg@chromium.org>
Tue, 23 Feb 2016 05:55:38 +0000
(22:55 -0700)
committer
Tom Rini
<trini@konsulko.com>
Mon, 14 Mar 2016 18:19:11 +0000
(14:19 -0400)
This is not used outside mkimage.c, so make this variable static.
Signed-off-by: Simon Glass <sjg@chromium.org>
tools/mkimage.c
patch
|
blob
|
history
diff --git
a/tools/mkimage.c
b/tools/mkimage.c
index bcf227272dd1fc8c35d39cb1a050bd57197f9bfc..e1900bd7ab1efd7c1871c8c2ed037700d2c9d186 100644
(file)
--- a/
tools/mkimage.c
+++ b/
tools/mkimage.c
@@
-15,7
+15,7
@@
static void copy_file(int, const char *, int);
/* parameters initialized by core will be used by the image type code */
-struct image_tool_params params = {
+st
atic st
ruct image_tool_params params = {
.os = IH_OS_LINUX,
.arch = IH_ARCH_PPC,
.type = IH_TYPE_KERNEL,