Add gzvprintf() as an undocumented function in zlib.

The function is only available if stdarg.h is available.
This commit is contained in:
Mark Adler
2013-03-22 18:32:37 -07:00
parent dd5d0940e9
commit b06dee4369
5 changed files with 36 additions and 7 deletions

6
zlib.h
View File

@@ -1753,6 +1753,12 @@ ZEXTERN int ZEXPORT deflateResetKeep OF((z_streamp));
ZEXTERN gzFile ZEXPORT gzopen_w OF((const wchar_t *path,
const char *mode));
#endif
#if defined(STDC) || defined(Z_HAVE_STDARG_H)
# ifndef Z_SOLO
ZEXTERN int ZEXPORTVA gzvprintf Z_ARG((gzFile file, const char *format,
va_list va));
# endif
#endif
#ifdef __cplusplus
}