Update zutil.c

Disable warning.
kimkulling/add_windows_clang_issue-5519
Kim Kulling 2024-09-10 19:10:15 +02:00 committed by GitHub
parent b65e84d759
commit 7c81fa89e7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -23,6 +23,8 @@ z_const char * const z_errmsg[10] = {
(z_const char *)""
};
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-non-prototype"
const char * ZEXPORT zlibVersion()
{
@ -321,6 +323,7 @@ void ZLIB_INTERNAL zcfree(opaque, ptr)
(void)opaque;
free(ptr);
}
#pragma clang diagnostic pop
#endif /* MY_ZCALLOC */