[PATCH] ubiformat: Include missing header

Sascha Hauer s.hauer at pengutronix.de
Mon Sep 1 01:52:29 PDT 2014


On Sat, Aug 23, 2014 at 04:23:48PM -0300, Ezequiel Garcia wrote:
> Currently this warning is found when compiling ubiformat.c
> 
>   CC      commands/ubiformat.o
> commands/ubiformat.c: In function 'flash_image':
> commands/ubiformat.c:368:3: warning: implicit declaration of function 'read_full' [-Wimplicit-function-declaration]
>    err = read_full(fd, buf, mtd->eb_size);
>    ^
> because ubiformat.c needs libfile.h for the read_full() function.
> This commit adds the missing header.
> 
> Signed-off-by: Ezequiel Garcia <ezequiel.garcia at free-electrons.com>

Should be fixed in master already.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list