2009-11-27 00:54:06 +01:00
|
|
|
Index: zlib.h
|
|
|
|
===================================================================
|
2010-08-13 23:57:54 +02:00
|
|
|
--- zlib.h.orig
|
|
|
|
+++ zlib.h
|
|
|
|
@@ -1256,7 +1256,11 @@ ZEXTERN int ZEXPORT gzwrite OF((gzFile f
|
|
|
|
error.
|
2006-12-19 00:18:46 +01:00
|
|
|
*/
|
|
|
|
|
2010-08-13 23:57:54 +02:00
|
|
|
-ZEXTERN int ZEXPORTVA gzprintf OF((gzFile file, const char *format, ...));
|
|
|
|
+ZEXTERN int ZEXPORTVA gzprintf OF((gzFile file, const char *format, ...))
|
2006-12-19 00:18:46 +01:00
|
|
|
+#ifdef __GNUC__
|
2010-08-13 23:57:54 +02:00
|
|
|
+ __attribute__((__format__(__printf__,2,3)))
|
2006-12-19 00:18:46 +01:00
|
|
|
+#endif
|
|
|
|
+;
|
|
|
|
/*
|
2010-08-13 23:57:54 +02:00
|
|
|
Converts, formats, and writes the arguments to the compressed file under
|
|
|
|
control of the format string, as in fprintf. gzprintf returns the number of
|