[U-Boot] [PATCH 1/4] mkimage: added 'static' specifier to match function's prototype.

guilherme.maciel.ferreira at gmail.com guilherme.maciel.ferreira at gmail.com
Wed Sep 18 02:40:36 CEST 2013


From: Guilherme Maciel Ferreira <guilherme.maciel.ferreira at gmail.com>

Signed-off-by: Guilherme Maciel Ferreira <guilherme.maciel.ferreira at gmail.com>
---
 tools/mkimage.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/mkimage.c b/tools/mkimage.c
index 7f22101..08aa634 100644
--- a/tools/mkimage.c
+++ b/tools/mkimage.c
@@ -632,8 +632,8 @@ 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",
-- 
1.7.0.4



More information about the U-Boot mailing list