summaryrefslogtreecommitdiff
path: root/src/server/main.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2012-11-11 18:19:59 +0400
committerAndrey Nazarov <skuller@skuller.net>2012-11-11 18:19:59 +0400
commit5ae5fa3733e1291a88beb6413f771ee8c32f1c2b (patch)
tree9faf5ea7baf2b9a5eaf313e1e215f852745386d0 /src/server/main.c
parenta8e0a1859212d7712dfaf3df812c06251359ab5e (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/server/main.c')
-rw-r--r--src/server/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/main.c b/src/server/main.c
index f547b5d..53bfc03 100644
--- a/src/server/main.c
+++ b/src/server/main.c
@@ -1960,12 +1960,12 @@ static void sv_hostname_changed(cvar_t *self)
#endif
#if USE_ZLIB
-voidpf SV_Zalloc OF((voidpf opaque, uInt items, uInt size))
+voidpf SV_zalloc(voidpf opaque, uInt items, uInt size)
{
return SV_Malloc(items * size);
}
-void SV_Zfree OF((voidpf opaque, voidpf address))
+void SV_zfree(voidpf opaque, voidpf address)
{
Z_Free(address);
}