Re: [PATCH 3/4] cmd: zip: fix implicit declaration warning

2020-05-25 Thread Tom Rini
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, (vo

Re: [PATCH 3/4] cmd: zip: fix implicit declaration warning

2020-05-22 Thread Simon Glass
On Fri, 22 May 2020 at 06:07, 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,

[PATCH 3/4] cmd: zip: fix implicit declaration warning

2020-05-22 Thread Michael Walle
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 whi