From b507e1246e8f78e1f556cfedce0de1e79e1ccd91 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Thomas=20K=C3=B6ppe?= Date: Wed, 3 Aug 2016 15:50:54 +0100 Subject: [PATCH] [unzip.c{,pp}] Change zc{alloc,free} to internal linkage --- tools/quake3/common/unzip.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)) -- 2.39.2