diff options
Diffstat (limited to '')
| -rw-r--r-- | zutil.c | 9 |
1 files changed, 6 insertions, 3 deletions
| @@ -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 */ | |||
| 15 | extern void exit OF((int)); | 15 | extern void exit OF((int)); |
| 16 | #endif | 16 | #endif |
| 17 | 17 | ||
| 18 | const char *zlib_version = ZLIB_VERSION; | ||
| 19 | |||
| 20 | const char *z_errmsg[10] = { | 18 | const 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 | ||
| 31 | char *zlibVersion() | ||
| 32 | { | ||
| 33 | return ZLIB_VERSION; | ||
| 34 | } | ||
| 35 | |||
| 33 | void z_error (m) | 36 | void z_error (m) |
| 34 | char *m; | 37 | char *m; |
| 35 | { | 38 | { |
