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/libxineadec/nosefart/log.h | |
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/libxineadec/nosefart/log.h')
-rw-r--r-- | src/libxineadec/nosefart/log.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/libxineadec/nosefart/log.h b/src/libxineadec/nosefart/log.h index b9d282c20..c3494a6c7 100644 --- a/src/libxineadec/nosefart/log.h +++ b/src/libxineadec/nosefart/log.h @@ -20,7 +20,7 @@ ** log.h ** ** Error logging header file -** $Id: log.h,v 1.2 2003/12/05 15:55:01 f1rmb Exp $ +** $Id: log.h,v 1.3 2006/04/21 23:15:45 dsalt Exp $ */ #ifndef _LOG_H_ @@ -31,12 +31,19 @@ extern int log_init(void); extern void log_shutdown(void); extern void log_print(const char *string); -extern void log_printf(const char *format, ...); +extern void log_printf(const char *format, ...) +#ifdef __GNUC__ +__attribute__ ((format (printf, 1, 2))) +#endif +; #endif /* _LOG_H_ */ /* ** $Log: log.h,v $ +** Revision 1.3 2006/04/21 23:15:45 dsalt +** Add printf format attributes. +** ** Revision 1.2 2003/12/05 15:55:01 f1rmb ** cleanup phase II. use xprintf when it's relevant, use xine_xmalloc when it's relevant too. Small other little fix (can't remember). Change few internal function prototype because it xine_t pointer need to be used if some xine's internal sections. NOTE: libdvd{nav,read} is still too noisy, i will take a look to made it quit, without invasive changes. To be continued... ** |