From 5ae5fa3733e1291a88beb6413f771ee8c32f1c2b Mon Sep 17 00:00:00 2001 From: Andrey Nazarov Date: Sun, 11 Nov 2012 18:19:59 +0400 Subject: Stop using zlib OF() macro. This thing does nothing in ANSI C and causes problems with distributions that remove it from zlib headers (e.g. Gentoo). --- src/common/files.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/common/files.c') diff --git a/src/common/files.c b/src/common/files.c index e689e93..b29b928 100644 --- a/src/common/files.c +++ b/src/common/files.c @@ -1061,12 +1061,12 @@ static qerror_t check_header_coherency(FILE *fp, packfile_t *entry) return Q_ERR_SUCCESS; } -static voidpf FS_zalloc OF((voidpf opaque, uInt items, uInt size)) +static voidpf FS_zalloc(voidpf opaque, uInt items, uInt size) { return FS_Malloc(items * size); } -static void FS_zfree OF((voidpf opaque, voidpf address)) +static void FS_zfree(voidpf opaque, voidpf address) { Z_Free(address); } -- cgit v1.2.3