[U-Boot] [PATCH 06/26] mkimage: Make 'params' static
Simon Glass
sjg at chromium.org
Thu Jan 28 17:39:26 CET 2016
This is not used outside mkimage.c, so make this variable static.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
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