zlib 1.0.2

This commit is contained in:
Mark Adler
2011-09-09 23:15:17 -07:00
parent 423eb40306
commit e26a448e96
22 changed files with 380 additions and 120 deletions

View File

@@ -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 <stdio.h>
@@ -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;
{