Message ID | 1385926992-17478-2-git-send-email-sjg@chromium.org |
---|---|
State | Accepted |
Delegated to: | Tom Rini |
Headers | show |
On Sun, Dec 01, 2013 at 12:43:09PM -0700, Simon Glass wrote: > 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> Applied to u-boot/master, thanks!
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",