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/input/input_cdda.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/input/input_cdda.c')
-rw-r--r-- | src/input/input_cdda.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/input/input_cdda.c b/src/input/input_cdda.c index d1940f831..3eba52e10 100644 --- a/src/input/input_cdda.c +++ b/src/input/input_cdda.c @@ -20,7 +20,7 @@ * Compact Disc Digital Audio (CDDA) Input Plugin * by Mike Melanson (melanson@pcisys.net) * - * $Id: input_cdda.c,v 1.84 2006/02/09 09:29:55 miguelfreitas Exp $ + * $Id: input_cdda.c,v 1.85 2006/04/21 23:15:45 dsalt Exp $ */ #ifdef HAVE_CONFIG_H @@ -908,7 +908,11 @@ static int parse_url (char *urlbuf, char** host, int *port) { } #endif -static int network_command( xine_stream_t *stream, int socket, char *data_buf, char *msg, ...) +static int +#ifdef __GNUC__ +__attribute__((format (printf, 4, 5))) +#endif +network_command( xine_stream_t *stream, int socket, char *data_buf, char *msg, ...) { char buf[_BUFSIZ]; va_list args; |