aboutsummaryrefslogtreecommitdiff
path: root/zutil.c
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2011-09-09 23:15:17 -0700
committerMark Adler <madler@alumni.caltech.edu>2011-09-09 23:15:17 -0700
commite26a448e9673d67dc2866e11a48d24fc352e5f80 (patch)
treea2dc10debfd34979dde501afbf1cce6a6c3cbcb7 /zutil.c
parent423eb40306489f9c88f7dba32c2f69179166730b (diff)
downloadzlib-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.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{