mirror of
https://github.com/libretro/RetroArch.git
synced 2025-01-22 09:15:02 +00:00
(rzlib) Get rid of two warnings on Xcode 3.2.6
This commit is contained in:
parent
3be412c58f
commit
389b362da8
5
deps/rzlib/gzclose.c
vendored
5
deps/rzlib/gzclose.c
vendored
@ -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;
|
||||
|
2
deps/rzlib/gzread.c
vendored
2
deps/rzlib/gzread.c
vendored
@ -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;
|
||||
|
2
deps/rzlib/gzwrite.c
vendored
2
deps/rzlib/gzwrite.c
vendored
@ -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…
x
Reference in New Issue
Block a user