(rzlib) Get rid of two warnings on Xcode 3.2.6
This commit is contained in:
parent
3be412c58f
commit
389b362da8
|
@ -5,10 +5,13 @@
|
|||
|
||||
#include "gzguts.h"
|
||||
|
||||
extern int gzclose_w(gzFile file);
|
||||
extern int gzclose_r(gzFile file);
|
||||
|
||||
/* gzclose() is in a separate file so that it is linked in only if it is used.
|
||||
That way the other gzclose functions can be used instead to avoid linking in
|
||||
unneeded compression or decompression routines. */
|
||||
int ZEXPORT gzclose(gzFile file)
|
||||
int gzclose(gzFile file)
|
||||
{
|
||||
#ifndef NO_GZCOMPRESS
|
||||
gz_statep state;
|
||||
|
|
|
@ -544,7 +544,7 @@ int ZEXPORT gzdirect(gzFile file)
|
|||
}
|
||||
|
||||
/* -- see zlib.h -- */
|
||||
int ZEXPORT gzclose_r(gzFile file)
|
||||
int gzclose_r(gzFile file)
|
||||
{
|
||||
int ret, err;
|
||||
gz_statep state;
|
||||
|
|
|
@ -515,7 +515,7 @@ int ZEXPORT gzsetparams(gzFile file, int level, int strategy)
|
|||
}
|
||||
|
||||
/* -- see zlib.h -- */
|
||||
int ZEXPORT gzclose_w(gzFile file)
|
||||
int gzclose_w(gzFile file)
|
||||
{
|
||||
int ret = Z_OK;
|
||||
gz_statep state;
|
||||
|
|
Loading…
Reference in New Issue