summaryrefslogtreecommitdiff
path: root/src/input/vcd
diff options
context:
space:
mode:
authorDarren Salt <linux@youmustbejoking.demon.co.uk>2007-04-07 18:34:07 +0100
committerDarren Salt <linux@youmustbejoking.demon.co.uk>2007-04-07 18:34:07 +0100
commit13ef1266e96335725e4b00cbe84753cfb1d9c52c (patch)
tree1f06fe28c309b2b5e2f24bc4cf440212c717b9cc /src/input/vcd
parent78689bf5bbd1dbe879d50aa0667db4603230390b (diff)
downloadxine-lib-13ef1266e96335725e4b00cbe84753cfb1d9c52c.tar.gz
xine-lib-13ef1266e96335725e4b00cbe84753cfb1d9c52c.tar.bz2
Use CC_ATTRIBUTE_FORMAT; replace __attribute((format(printf, ...))) accordingly.
Diffstat (limited to 'src/input/vcd')
-rw-r--r--src/input/vcd/xine-extra.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/input/vcd/xine-extra.h b/src/input/vcd/xine-extra.h
index d0b2a0bb5..cde9a26f6 100644
--- a/src/input/vcd/xine-extra.h
+++ b/src/input/vcd/xine-extra.h
@@ -80,11 +80,7 @@ bool xine_log_init(xine_t *this);
an error, such as logging wasn't initialized. On error, nothing is
logged.
*/
-bool xine_log_msg(const char *format, ...)
-#ifdef __GNUC__
-__attribute__((format (printf, 1, 2)))
-#endif
-;
+bool xine_log_msg(const char *format, ...) XINE_FORMAT_PRINTF(1, 2);
/*! This routine is like xine_log without any xine-specific paramenters.
Before calling this routine you should have set up a xine log buffer via
@@ -96,11 +92,7 @@ __attribute__((format (printf, 1, 2)))
an error, such as logging wasn't initialized. On error, nothing is
logged.
*/
-bool xine_log_err(const char *format, ...)
-#ifdef __GNUC__
-__attribute__((format (printf, 1, 2)))
-#endif
-;
+bool xine_log_err(const char *format, ...) XINE_FORMAT_PRINTF(1, 2);
/* Free all (num_mrls) MRLS. */
void xine_free_mrls(int *num_mrls, xine_mrl_t **mrls);