Skip to content

Commit

Permalink
mkimage: added 'static' specifier to match function's prototype.
Browse files Browse the repository at this point in the history
This function should be declared static.

Signed-off-by: Guilherme Maciel Ferreira <[email protected]>
Signed-off-by: Simon Glass <[email protected]>
  • Loading branch information
guilhermeferreira authored and trini committed Dec 13, 2013
1 parent 2c808a1 commit f1cc458
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tools/mkimage.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit f1cc458

Please sign in to comment.