
1 Dec
2013
1 Dec
'13
8:43 p.m.
From: Guilherme Maciel Ferreira guilherme.maciel.ferreira@gmail.com
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 ---
Changes in v2: - Correct checkpatch problems
tools/mkimage.c | 3 +-- 1 file changed, 1 insertion(+), 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",
--
1.8.4.1