summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorGuilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com>2013-12-01 12:43:09 -0700
committerTom Rini <trini@ti.com>2013-12-13 09:15:32 -0500
commitf1cc458cf3b1c972082b14c7901b43300634a78a (patch)
treec2242dd54e847a14fb00a8e40a3b1d6505a89681 /tools
parent2c808a12ea7e00d5078e57a9640adcb0504c739c (diff)
downloadu-boot-imx-f1cc458cf3b1c972082b14c7901b43300634a78a.zip
u-boot-imx-f1cc458cf3b1c972082b14c7901b43300634a78a.tar.gz
u-boot-imx-f1cc458cf3b1c972082b14c7901b43300634a78a.tar.bz2
mkimage: added 'static' specifier to match function's prototype.
This function should be declared static. Signed-off-by: Guilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com> Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/mkimage.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/mkimage.c b/tools/mkimage.c
index 7f22101..e12bc31 100644
--- a/tools/mkimage.c
+++ b/tools/mkimage.c
@@ -632,8 +632,7 @@ copy_file (int ifd, const char *datafile, int pad)
(void) close (dfd);
}
-void
-usage ()
+static void usage(void)
{
fprintf (stderr, "Usage: %s -l image\n"
" -l ==> list image header information\n",