[U-Boot] [PATCH v2 06/27] mkimage: Make 'params' static
Simon Glass
sjg at chromium.org
Tue Feb 23 06:55:38 CET 2016
This is not used outside mkimage.c, so make this variable static.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
Changes in v2: None
tools/mkimage.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/mkimage.c b/tools/mkimage.c
index 5aae748..b8293f6 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,
--
2.7.0.rc3.207.g0ac5344
More information about the U-Boot
mailing list