Patch for attribute(printf) by (Michel Bardiaux <mbardiaux at peaktime dot be>)
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 30 Sep 2003 17:54:30 +0000 (17:54 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 30 Sep 2003 17:54:30 +0000 (17:54 +0000)
Originally committed as revision 2322 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/avio.h

index cc0b5f9..df287b8 100644 (file)
@@ -110,7 +110,7 @@ int url_feof(ByteIOContext *s);
 #define URL_EOF (-1)
 int url_fgetc(ByteIOContext *s);
 #ifdef __GNUC__
-int url_fprintf(ByteIOContext *s, const char *fmt, ...) __attribute__ ((format (printf, 2, 3)));
+int url_fprintf(ByteIOContext *s, const char *fmt, ...) __attribute__ ((__format__ (__printf__, 2, 3)));
 #else
 int url_fprintf(ByteIOContext *s, const char *fmt, ...);
 #endif