ZWRAP_allocFunction and ZWRAP_freeFunction are static

This commit is contained in:
inikep
2016-06-02 18:24:07 +02:00
parent ff9114aee3
commit 7cab86f647
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -76,7 +76,7 @@ const char * zstdVersion() { return ZSTD_VERSION_STRING; }
ZEXTERN const char * ZEXPORT z_zlibVersion OF((void)) { return zlibVersion(); }
void* ZWRAP_allocFunction(void* opaque, size_t size)
static void* ZWRAP_allocFunction(void* opaque, size_t size)
{
z_streamp strm = (z_streamp) opaque;
void* address = strm->zalloc(strm->opaque, 1, size);
@@ -84,7 +84,7 @@ void* ZWRAP_allocFunction(void* opaque, size_t size)
return address;
}
void ZWRAP_freeFunction(void* opaque, void* address)
static void ZWRAP_freeFunction(void* opaque, void* address)
{
z_streamp strm = (z_streamp) opaque;
strm->zfree(strm->opaque, address);