瀏覽代碼

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>
Guilherme Maciel Ferreira 10 年之前
父節點
當前提交
f1cc458cf3
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      tools/mkimage.c

+ 1 - 2
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",