summaryrefslogtreecommitdiff
path: root/src/server/mvd/client.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/mvd/client.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/mvd/client.c')
-rw-r--r--src/server/mvd/client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/mvd/client.c b/src/server/mvd/client.c
index 4036a2f..626e108 100644
--- a/src/server/mvd/client.c
+++ b/src/server/mvd/client.c
@@ -1061,12 +1061,12 @@ static void send_stream_stop(gtv_t *gtv)
#if USE_ZLIB
-static voidpf gtv_zalloc OF((voidpf opaque, uInt items, uInt size))
+static voidpf gtv_zalloc(voidpf opaque, uInt items, uInt size)
{
return MVD_Malloc(items * size);
}
-static void gtv_zfree OF((voidpf opaque, voidpf address))
+static void gtv_zfree(voidpf opaque, voidpf address)
{
Z_Free(address);
}