diff options
Diffstat (limited to '')
| -rw-r--r-- | example.c | 6 |
1 files changed, 4 insertions, 2 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: example.c,v 1.7 1995/05/01 16:57:22 jloup Exp $ */ | 6 | /* $Id: example.c,v 1.8 1995/05/02 15:52:32 jloup Exp $ */ |
| 7 | 7 | ||
| 8 | #include <stdio.h> | 8 | #include <stdio.h> |
| 9 | #include "zlib.h" | 9 | #include "zlib.h" |
| @@ -12,7 +12,9 @@ | |||
| 12 | # include <string.h> | 12 | # include <string.h> |
| 13 | #endif | 13 | #endif |
| 14 | 14 | ||
| 15 | #ifndef __GO32__ | ||
| 15 | extern void exit __P((int)); | 16 | extern void exit __P((int)); |
| 17 | #endif | ||
| 16 | 18 | ||
| 17 | #define BUFLEN 4096 | 19 | #define BUFLEN 4096 |
| 18 | 20 | ||
| @@ -253,7 +255,7 @@ void test_sync(compr) | |||
| 253 | err = inflateEnd(&d_stream); | 255 | err = inflateEnd(&d_stream); |
| 254 | CHECK_ERR(err, "inflateEnd"); | 256 | CHECK_ERR(err, "inflateEnd"); |
| 255 | 257 | ||
| 256 | printf("after inflateSync(): %s\n", uncompr); | 258 | printf("after inflateSync(): hel%s\n", uncompr); |
| 257 | } | 259 | } |
| 258 | 260 | ||
| 259 | /* =========================================================================== | 261 | /* =========================================================================== |
