projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c808a1
)
mkimage: added 'static' specifier to match function's prototype.
author
Guilherme Maciel Ferreira
<guilherme.maciel.ferreira@gmail.com>
Sun, 1 Dec 2013 19:43:09 +0000
(12:43 -0700)
committer
Tom Rini
<trini@ti.com>
Fri, 13 Dec 2013 14:15:32 +0000
(09:15 -0500)
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>
tools/mkimage.c
patch
|
blob
|
history
diff --git
a/tools/mkimage.c
b/tools/mkimage.c
index 7f221013e38cf20fe9bad4a42d1a7aca387e9924..e12bc318bbd261ddc6d1c76edfaf096ddebf6323 100644
(file)
--- 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",