[unzip.c{,pp}] Change zc{alloc,free} to internal linkage
This commit is contained in:
parent
78bc1dcec6
commit
07c14c71a1
|
|
@ -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));
|
typedef uLong (*check_func) OF((uLong check, const Byte *buf, uInt len));
|
||||||
voidp zcalloc OF((voidp opaque, unsigned items, unsigned size));
|
static voidp zcalloc OF((voidp opaque, unsigned items, unsigned size));
|
||||||
void zcfree OF((voidp opaque, voidp ptr));
|
static void zcfree OF((voidp opaque, voidp ptr));
|
||||||
|
|
||||||
#define ZALLOC(strm, items, size) \
|
#define ZALLOC(strm, items, size) \
|
||||||
(*((strm)->zalloc))((strm)->opaque, (items), (size))
|
(*((strm)->zalloc))((strm)->opaque, (items), (size))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user