From 29c576c8203ff9e5eef85d6f95c4af470619fc4c Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 18 Mar 2018 12:32:15 -0600 Subject: [PATCH] libc/lzf: Define structures to represent LZF headers. --- system/lzf/lzf_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/lzf/lzf_main.c b/system/lzf/lzf_main.c index ca3135b99..17acbf3c8 100644 --- a/system/lzf/lzf_main.c +++ b/system/lzf/lzf_main.c @@ -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)