From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Thu, 28 Jan 2016 09:39:26 -0700 Subject: [U-Boot] [PATCH 06/26] mkimage: Make 'params' static In-Reply-To: <1453999186-18747-1-git-send-email-sjg@chromium.org> References: <1453999186-18747-1-git-send-email-sjg@chromium.org> Message-ID: <1453999186-18747-7-git-send-email-sjg@chromium.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de This is not used outside mkimage.c, so make this variable static. Signed-off-by: Simon Glass --- 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