diff options
author | Andrey Nazarov <skuller@skuller.net> | 2012-11-11 18:19:59 +0400 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2012-11-11 18:19:59 +0400 |
commit | 5ae5fa3733e1291a88beb6413f771ee8c32f1c2b (patch) | |
tree | 9faf5ea7baf2b9a5eaf313e1e215f852745386d0 /src/common/files.c | |
parent | a8e0a1859212d7712dfaf3df812c06251359ab5e (diff) |
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).
Diffstat (limited to 'src/common/files.c')
-rw-r--r-- | src/common/files.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |