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:
parent
4b8750c956
commit
0c5310075b
|
@ -1,5 +1,5 @@
|
||||||
#ifndef INFLATE_H
|
#ifndef GUNZIP_H
|
||||||
#define INFLATE_H
|
#define GUNZIP_H
|
||||||
|
|
||||||
int gunzip(unsigned char *inbuf, int len,
|
int gunzip(unsigned char *inbuf, int len,
|
||||||
int(*fill)(void*, unsigned int),
|
int(*fill)(void*, unsigned int),
|
||||||
|
|
|
@ -24,6 +24,8 @@
|
||||||
|
|
||||||
#endif /* STATIC */
|
#endif /* STATIC */
|
||||||
|
|
||||||
|
#include <gunzip.h>
|
||||||
|
|
||||||
#define GZIP_IOBUF_SIZE (16*1024)
|
#define GZIP_IOBUF_SIZE (16*1024)
|
||||||
|
|
||||||
static int nofill(void *buffer, unsigned int len)
|
static int nofill(void *buffer, unsigned int len)
|
||||||
|
|
Loading…
Reference in New Issue