diff options
author | Guilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com> | 2013-12-01 12:43:09 -0700 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-12-13 09:15:32 -0500 |
commit | f1cc458cf3b1c972082b14c7901b43300634a78a (patch) | |
tree | c2242dd54e847a14fb00a8e40a3b1d6505a89681 /tools/mkimage.c | |
parent | 2c808a12ea7e00d5078e57a9640adcb0504c739c (diff) |
mkimage: added 'static' specifier to match function's prototype.
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>
Diffstat (limited to 'tools/mkimage.c')
-rw-r--r-- | tools/mkimage.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/mkimage.c b/tools/mkimage.c index 7f221013e38..e12bc318bbd 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", |