diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:07:35 -0700 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:07:35 -0700 |
commit | 1c71d8b13b54f91ddec361d3053ecce26e6ff761 (patch) | |
tree | 84f806bb79cc8c7458ddbd7b5402dbf1eec76dd4 /example.c | |
parent | 64b2e892035cf6ea98800c54dce0d63730d50272 (diff) |
zlib 0.91
Diffstat (limited to 'example.c')
-rw-r--r-- | example.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -3,7 +3,7 @@ * For conditions of distribution and use, see copyright notice in zlib.h */ -/* $Id: example.c,v 1.7 1995/05/01 16:57:22 jloup Exp $ */ +/* $Id: example.c,v 1.8 1995/05/02 15:52:32 jloup Exp $ */ #include <stdio.h> #include "zlib.h" @@ -12,7 +12,9 @@ # include <string.h> #endif +#ifndef __GO32__ extern void exit __P((int)); +#endif #define BUFLEN 4096 @@ -253,7 +255,7 @@ void test_sync(compr) err = inflateEnd(&d_stream); CHECK_ERR(err, "inflateEnd"); - printf("after inflateSync(): %s\n", uncompr); + printf("after inflateSync(): hel%s\n", uncompr); } /* =========================================================================== |