diff avio.h @ 265:786e8286ea4a libavformat

Patch for attribute(printf) by (Michel Bardiaux <mbardiaux at peaktime dot be>)
author michaelni
date Tue, 30 Sep 2003 17:54:30 +0000
parents 3a493a2e5bba
children e14fcd57ad2f
line wrap: on
line diff
--- a/avio.h	Mon Sep 29 22:40:01 2003 +0000
+++ b/avio.h	Tue Sep 30 17:54:30 2003 +0000
@@ -110,7 +110,7 @@
 #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