mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Turn zlib_inflate_init2 into static function
This commit is contained in:
parent
280e10195c
commit
5c615f18e1
@ -76,12 +76,7 @@ static uint32_t read_le(const uint8_t *data, unsigned size)
|
||||
return val;
|
||||
}
|
||||
|
||||
void *zlib_stream_new(void)
|
||||
{
|
||||
return (z_stream*)calloc(1, sizeof(z_stream));
|
||||
}
|
||||
|
||||
bool zlib_inflate_init2(void *data)
|
||||
static bool zlib_inflate_init2(void *data)
|
||||
{
|
||||
z_stream *stream = (z_stream*)data;
|
||||
|
||||
@ -92,6 +87,11 @@ bool zlib_inflate_init2(void *data)
|
||||
return true;
|
||||
}
|
||||
|
||||
void *zlib_stream_new(void)
|
||||
{
|
||||
return (z_stream*)calloc(1, sizeof(z_stream));
|
||||
}
|
||||
|
||||
void zlib_deflate_init(void *data, int level)
|
||||
{
|
||||
z_stream *stream = (z_stream*)data;
|
||||
|
@ -166,8 +166,6 @@ void zlib_stream_deflate_free(void *data);
|
||||
|
||||
bool zlib_inflate_init(void *data);
|
||||
|
||||
bool zlib_inflate_init2(void *data);
|
||||
|
||||
void zlib_set_stream(void *data,
|
||||
uint32_t avail_in,
|
||||
uint32_t avail_out,
|
||||
|
Loading…
x
Reference in New Issue
Block a user