summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Lee <trisk+xine@acm.jhu.edu>2007-06-13 23:32:10 +0200
committerAlbert Lee <trisk+xine@acm.jhu.edu>2007-06-13 23:32:10 +0200
commit1df3c181a6a80c0445da2ae27335fe323b43a011 (patch)
tree2ce4d04593034a63b35aab57c7a6dcd39e6a0dd9
parent81930a60c6933097ef90d77747e65ff47dbbe070 (diff)
downloadxine-lib-1df3c181a6a80c0445da2ae27335fe323b43a011.tar.gz
xine-lib-1df3c181a6a80c0445da2ae27335fe323b43a011.tar.bz2
Add printf format attribute.
-rw-r--r--src/input/vcd/xine-extra.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input/vcd/xine-extra.h b/src/input/vcd/xine-extra.h
index cde9a26f6..2f8b12a71 100644
--- a/src/input/vcd/xine-extra.h
+++ b/src/input/vcd/xine-extra.h
@@ -49,7 +49,7 @@
In short this writes a message to buffer 'buf' and to stdout.
*/
void
-xine_vlog_msg(xine_t *this, int buf, const char *format, va_list args);
+xine_vlog_msg(xine_t *this, int buf, const char *format, va_list args) XINE_FORMAT_PRINTF(3, 0);
/*! This routine is like xine_log, except it takes a va_list instead
of a variable number of arguments and writes to stderr rather than
@@ -58,7 +58,7 @@ xine_vlog_msg(xine_t *this, int buf, const char *format, va_list args);
In short this writes a message to buffer 'buf' and to stderr.
*/
-void xine_vlog_err(xine_t *this, int buf, const char *format, va_list args);
+void xine_vlog_err(xine_t *this, int buf, const char *format, va_list args) XINE_FORMAT_PRINTF(3, 0);
/*! Call this before calling any of the xine_log_msg or xine_log_err
routines. It sets up the xine buffer that will be used in error