Skip to content
Commit 2843444a authored by Michael Walle's avatar Michael Walle Committed by Tom Rini
Browse files

cmd: zip: fix implicit declaration warning



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: default avatarMichael Walle <michael@walle.cc>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent eff5a547
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment