diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:15:17 -0700 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:15:17 -0700 |
commit | e26a448e9673d67dc2866e11a48d24fc352e5f80 (patch) | |
tree | a2dc10debfd34979dde501afbf1cce6a6c3cbcb7 /zutil.c | |
parent | 423eb40306489f9c88f7dba32c2f69179166730b (diff) | |
download | zlib-e26a448e9673d67dc2866e11a48d24fc352e5f80.tar.gz zlib-e26a448e9673d67dc2866e11a48d24fc352e5f80.tar.bz2 zlib-e26a448e9673d67dc2866e11a48d24fc352e5f80.zip |
zlib 1.0.2v1.0.2
Diffstat (limited to 'zutil.c')
-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 | { |