From: Thomas Köppe Date: Wed, 3 Aug 2016 14:50:54 +0000 (+0100) Subject: [unzip.c{,pp}] Change zc{alloc,free} to internal linkage X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b507e1246e8f78e1f556cfedce0de1e79e1ccd91;p=xonotic%2Fnetradiant.git [unzip.c{,pp}] Change zc{alloc,free} to internal linkage --- diff --git a/tools/quake3/common/unzip.c b/tools/quake3/common/unzip.c index f833a34d..137b0e15 100644 --- a/tools/quake3/common/unzip.c +++ b/tools/quake3/common/unzip.c @@ -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))