From f1cc458cf3b1c972082b14c7901b43300634a78a Mon Sep 17 00:00:00 2001 From: Guilherme Maciel Ferreira Date: Sun, 1 Dec 2013 12:43:09 -0700 Subject: 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 --- tools/mkimage.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tools') 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", -- cgit v1.1