From 5ae61f058f524994eca3a2d62434c10cec86a6a9 Mon Sep 17 00:00:00 2001 From: Laurent Vivier Date: Wed, 16 Nov 2005 00:49:14 +0000 Subject: [PATCH] disable gzopen() prototype --- libgzip/zlib.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libgzip/zlib.h b/libgzip/zlib.h index 0228179..790a658 100644 --- a/libgzip/zlib.h +++ b/libgzip/zlib.h @@ -1065,6 +1065,7 @@ ZEXTERN int ZEXPORT uncompress OF((Bytef *dest, uLongf *destLen, typedef voidp gzFile; +#if 0 ZEXTERN gzFile ZEXPORT gzopen OF((const char *path, const char *mode)); /* Opens a gzip (.gz) file for reading or writing. The mode parameter @@ -1081,6 +1082,7 @@ ZEXTERN gzFile ZEXPORT gzopen OF((const char *path, const char *mode)); insufficient memory to allocate the (de)compression state; errno can be checked to distinguish the two cases (if errno is zero, the zlib error is Z_MEM_ERROR). */ +#endif ZEXTERN gzFile ZEXPORT gzdopen OF((int fd, const char *mode)); /*