mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2025-01-09 03:21:05 +00:00
[unzip.c{,pp}] Change zc{alloc,free} to internal linkage
This commit is contained in:
parent
282c13d5ed
commit
3b2fb7f27e
4 changed files with 8 additions and 8 deletions
|
@ -1158,8 +1158,8 @@ int z_verbose = 0;
|
|||
|
||||
|
||||
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 ) )
|
||||
|
|
|
@ -1177,8 +1177,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))
|
||||
|
|
|
@ -1178,8 +1178,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))
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue