From e26a448e9673d67dc2866e11a48d24fc352e5f80 Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Fri, 9 Sep 2011 23:15:17 -0700 Subject: zlib 1.0.2 --- zutil.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'zutil.c') diff --git a/zutil.c b/zutil.c index 66ddae4..f32fda5 100644 --- a/zutil.c +++ b/zutil.c @@ -3,7 +3,7 @@ * For conditions of distribution and use, see copyright notice in zlib.h */ -/* $Id: zutil.c,v 1.12 1996/01/30 21:59:29 me Exp $ */ +/* $Id: zutil.c,v 1.15 1996/05/23 17:11:36 me Exp $ */ #include @@ -15,8 +15,6 @@ struct internal_state {int dummy;}; /* for buggy compilers */ extern void exit OF((int)); #endif -const char *zlib_version = ZLIB_VERSION; - const char *z_errmsg[10] = { "need dictionary", /* Z_NEED_DICT 2 */ "stream end", /* Z_STREAM_END 1 */ @@ -30,6 +28,11 @@ const char *z_errmsg[10] = { ""}; +char *zlibVersion() +{ + return ZLIB_VERSION; +} + void z_error (m) char *m; { -- cgit v1.2.3-55-g6feb