]> git.sur5r.net Git - u-boot/commitdiff
mkimage: Make 'params' static
authorSimon Glass <sjg@chromium.org>
Tue, 23 Feb 2016 05:55:38 +0000 (22:55 -0700)
committerTom 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

index bcf227272dd1fc8c35d39cb1a050bd57197f9bfc..e1900bd7ab1efd7c1871c8c2ed037700d2c9d186 100644 (file)
@@ -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,