SHA256
3
0
forked from pool/zlib
zlib/zlib-1.2.2-format.patch
OBS User autobuild 1c3af89309 Accepting request 25075 from Archiving
Copy from Archiving/zlib based on submit request 25075 from user msmeissn

OBS-URL: https://build.opensuse.org/request/show/25075
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zlib?expand=0&rev=13
2009-11-26 23:54:06 +00:00

19 lines
667 B
Diff

Index: zlib.h
===================================================================
--- zlib.h.orig 2005-07-18 04:26:49.000000000 +0200
+++ zlib.h 2009-11-24 17:22:26.357480000 +0100
@@ -1119,7 +1119,12 @@ ZEXTERN int ZEXPORT gzwrite OF((gzFil
(0 in case of error).
*/
-ZEXTERN int ZEXPORTVA gzprintf OF((gzFile file, const char *format, ...));
+
+ZEXTERN int ZEXPORTVA gzprintf OF((gzFile file, const char *format, ...))
+#ifdef __GNUC__
+ __attribute__((__format__(__printf__,2,3)))
+#endif
+;
/*
Converts, formats, and writes the args to the compressed file under
control of the format string, as in fprintf. gzprintf returns the number of