aboutsummaryrefslogtreecommitdiff
path: root/zutil.c
diff options
context:
space:
mode:
Diffstat (limited to 'zutil.c')
-rw-r--r--zutil.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/zutil.c b/zutil.c
index 66ddae4..f32fda5 100644
--- a/zutil.c
+++ b/zutil.c
@@ -3,7 +3,7 @@
3 * For conditions of distribution and use, see copyright notice in zlib.h 3 * For conditions of distribution and use, see copyright notice in zlib.h
4 */ 4 */
5 5
6/* $Id: zutil.c,v 1.12 1996/01/30 21:59:29 me Exp $ */ 6/* $Id: zutil.c,v 1.15 1996/05/23 17:11:36 me Exp $ */
7 7
8#include <stdio.h> 8#include <stdio.h>
9 9
@@ -15,8 +15,6 @@ struct internal_state {int dummy;}; /* for buggy compilers */
15extern void exit OF((int)); 15extern void exit OF((int));
16#endif 16#endif
17 17
18const char *zlib_version = ZLIB_VERSION;
19
20const char *z_errmsg[10] = { 18const char *z_errmsg[10] = {
21"need dictionary", /* Z_NEED_DICT 2 */ 19"need dictionary", /* Z_NEED_DICT 2 */
22"stream end", /* Z_STREAM_END 1 */ 20"stream end", /* Z_STREAM_END 1 */
@@ -30,6 +28,11 @@ const char *z_errmsg[10] = {
30""}; 28""};
31 29
32 30
31char *zlibVersion()
32{
33 return ZLIB_VERSION;
34}
35
33void z_error (m) 36void z_error (m)
34 char *m; 37 char *m;
35{ 38{