[PATCH 3/4] cmd: zip: fix implicit declaration warning
Tom Rini
trini at konsulko.com
Mon May 25 20:00:00 CEST 2020
On Fri, May 22, 2020 at 02:07:37PM +0200, Michael Walle wrote:
> Fix the following warning:
>
> cmd/zip.c: In function ‘do_zip’:
> cmd/zip.c:30:6: warning: implicit declaration of function ‘gzip’; did you mean ‘do_zip’? [-Wimplicit-function-declaration]
> if (gzip((void *) dst, &dst_len, (void *) src, src_len) != 0)
> ^~~~
> do_zip
>
> Include gzip.h header which declares the gzip() function.
>
> Signed-off-by: Michael Walle <michael at walle.cc>
> Reviewed-by: Simon Glass <sjg at chromium.org>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200525/a3392158/attachment.sig>
More information about the U-Boot
mailing list