9
0
Fork 0

decompress_inflate.c: fix "no previous prototype for 'gunzip'" warning

Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Antony Pavlov 2011-12-25 09:57:26 +04:00 committed by Sascha Hauer
parent 4b8750c956
commit 0c5310075b
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,5 @@
#ifndef INFLATE_H
#define INFLATE_H
#ifndef GUNZIP_H
#define GUNZIP_H
int gunzip(unsigned char *inbuf, int len,
int(*fill)(void*, unsigned int),

View File

@ -24,6 +24,8 @@
#endif /* STATIC */
#include <gunzip.h>
#define GZIP_IOBUF_SIZE (16*1024)
static int nofill(void *buffer, unsigned int len)