Skip to content
Snippets Groups Projects
Commit 1811b7d3 authored by Tom Rini's avatar Tom Rini
Browse files

gunzip.c: Only include gzwrite on CONFIG_CMD_UNZIP


Only when we have CONFIG_CMD_UNZIP enabled do we have the 'gzwrite'
command.  While this command should be separated from CONFIG_CMD_UNZIP
we should also only include the write portion of the gz code in that
case as well.

Signed-off-by: default avatarTom Rini <trini@konsulko.com>
parent b5db3c2c
No related branches found
No related tags found
No related merge requests found
......@@ -70,6 +70,7 @@ int gunzip(void *dst, int dstlen, unsigned char *src, unsigned long *lenp)
return zunzip(dst, dstlen, src, lenp, 1, i);
}
#ifdef CONFIG_CMD_UNZIP
__weak
void gzwrite_progress_init(u64 expectedsize)
{
......@@ -258,6 +259,7 @@ out:
return r;
}
#endif
/*
* Uncompress blocks compressed with zlib without headers
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment