[unzip.c{,pp}] Change zc{alloc,free} to internal linkage

This commit is contained in:
Thomas Köppe 2016-08-03 15:50:54 +01:00 committed by Garux
parent 78bc1dcec6
commit 07c14c71a1

View File

@ -1199,8 +1199,8 @@ extern const char *z_errmsg[10]; /* indexed by 2-zlib_error */
typedef uLong (*check_func) OF((uLong check, const Byte *buf, uInt len));
voidp zcalloc OF((voidp opaque, unsigned items, unsigned size));
void zcfree OF((voidp opaque, voidp ptr));
static voidp zcalloc OF((voidp opaque, unsigned items, unsigned size));
static void zcfree OF((voidp opaque, voidp ptr));
#define ZALLOC(strm, items, size) \
(*((strm)->zalloc))((strm)->opaque, (items), (size))