From: Guilherme Maciel Ferreira Date: Sun, 1 Dec 2013 19:43:09 +0000 (-0700) Subject: mkimage: added 'static' specifier to match function's prototype. X-Git-Tag: v2014.01-rc2~35 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f1cc458cf3b1c972082b14c7901b43300634a78a;p=u-boot mkimage: added 'static' specifier to match function's prototype. This function should be declared static. Signed-off-by: Guilherme Maciel Ferreira Signed-off-by: Simon Glass --- diff --git a/tools/mkimage.c b/tools/mkimage.c index 7f221013e3..e12bc318bb 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",