summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-02-22 22:55:38 -0700
committerTom Rini <trini@konsulko.com>2016-03-14 14:19:11 -0400
commitcc7a64447bc3e90a8133b2fce98d7526089a7033 (patch)
treed93323c0f5d5286c4dbc14345e5bafdd1448c947 /tools
parent1531034831b3098634b524b7e244f577fae21312 (diff)
downloadu-boot-cc7a64447bc3e90a8133b2fce98d7526089a7033.tar.gz
u-boot-cc7a64447bc3e90a8133b2fce98d7526089a7033.tar.bz2
u-boot-cc7a64447bc3e90a8133b2fce98d7526089a7033.zip
mkimage: Make 'params' static
This is not used outside mkimage.c, so make this variable static. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/mkimage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mkimage.c b/tools/mkimage.c
index bcf227272d..e1900bd7ab 100644
--- 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 = {
+static struct image_tool_params params = {
.os = IH_OS_LINUX,
.arch = IH_ARCH_PPC,
.type = IH_TYPE_KERNEL,