libc/lzf: Define structures to represent LZF headers.

This commit is contained in:
Gregory Nutt 2018-03-18 12:32:15 -06:00
parent d35a3e847e
commit 29c576c820

View File

@ -165,9 +165,9 @@ static inline ssize_t wwrite(int fd, void *buf, size_t len)
static int compress_fd(int from, int to)
{
FAR struct lzf_header_s *header;
ssize_t us;
ssize_t len;
uint8_t *header;
g_nread = g_nwritten = 0;
while ((us = rread(from, &g_buf1[LZF_MAX_HDR_SIZE], g_blocksize)) > 0)