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/libxineadec | |
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/libxineadec')
-rw-r--r-- | src/libxineadec/nosefart/log.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/libxineadec/nosefart/log.h b/src/libxineadec/nosefart/log.h index c3494a6c7..a12deff0a 100644 --- a/src/libxineadec/nosefart/log.h +++ b/src/libxineadec/nosefart/log.h @@ -27,15 +27,12 @@ #define _LOG_H_ #include <stdio.h> +#include "attributes.h" extern int log_init(void); extern void log_shutdown(void); extern void log_print(const char *string); -extern void log_printf(const char *format, ...) -#ifdef __GNUC__ -__attribute__ ((format (printf, 1, 2))) -#endif -; +extern void log_printf(const char *format, ...) XINE_FORMAT_PRINTF(1, 2); #endif /* _LOG_H_ */ |