diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2007-04-07 18:34:07 +0100 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2007-04-07 18:34:07 +0100 |
commit | 13ef1266e96335725e4b00cbe84753cfb1d9c52c (patch) | |
tree | 1f06fe28c309b2b5e2f24bc4cf440212c717b9cc /src/audio_out/audio_alsa_out.c | |
parent | 78689bf5bbd1dbe879d50aa0667db4603230390b (diff) | |
download | xine-lib-13ef1266e96335725e4b00cbe84753cfb1d9c52c.tar.gz xine-lib-13ef1266e96335725e4b00cbe84753cfb1d9c52c.tar.bz2 |
Use CC_ATTRIBUTE_FORMAT; replace __attribute((format(printf, ...))) accordingly.
Diffstat (limited to 'src/audio_out/audio_alsa_out.c')
-rw-r--r-- | src/audio_out/audio_alsa_out.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/audio_out/audio_alsa_out.c b/src/audio_out/audio_alsa_out.c index f176b7594..6ad78da2a 100644 --- a/src/audio_out/audio_alsa_out.c +++ b/src/audio_out/audio_alsa_out.c @@ -265,10 +265,7 @@ static long ao_alsa_get_volume_from_percent(int val, long min, long max) { * Error callback, we need to control this, * error message should be printed only in DEBUG mode. */ -static void -#ifdef __GNUC__ - __attribute__((format (printf, 5, 6))) -#endif +static void XINE_FORMAT_PRINTF(5, 6) error_callback(const char *file, int line, const char *function, int err, const char *fmt, ...) { #ifdef DEBUG |