diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2006-04-21 23:15:44 +0000 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2006-04-21 23:15:44 +0000 |
commit | 65d46d7e0123cf42b5c98f633bd41c90acaa180d (patch) | |
tree | 0912efb8d0496428f015fdc8de81db135e44e65d /src/audio_out/audio_directx2_out.c | |
parent | c707fe990cb23300de76b7a5728a543105283ddb (diff) | |
download | xine-lib-65d46d7e0123cf42b5c98f633bd41c90acaa180d.tar.gz xine-lib-65d46d7e0123cf42b5c98f633bd41c90acaa180d.tar.bz2 |
Add printf format attributes.
CVS patchset: 7977
CVS date: 2006/04/21 23:15:44
Diffstat (limited to 'src/audio_out/audio_directx2_out.c')
-rw-r--r-- | src/audio_out/audio_directx2_out.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/audio_out/audio_directx2_out.c b/src/audio_out/audio_directx2_out.c index 3f33d34d5..f5384a794 100644 --- a/src/audio_out/audio_directx2_out.c +++ b/src/audio_out/audio_directx2_out.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: audio_directx2_out.c,v 1.4 2005/09/05 17:02:57 valtri Exp $ + * $Id: audio_directx2_out.c,v 1.5 2006/04/21 23:15:45 dsalt Exp $ * * * xine audio output plugin using DirectX @@ -151,7 +151,11 @@ static int buffer_ready(dx2_driver_t *this); /* popup a dialog with error */ -static void error_message(const char *fmt, ...) { +static void +#ifdef __GNUC__ + __attribute__((format (printf, 1, 2))) +#endif + error_message(const char *fmt, ...) { char message[256]; va_list ap; |