diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2006-06-29 12:28:06 +0000 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2006-06-29 12:28:06 +0000 |
commit | fb195a9ef3010068f663faaf2ee284749af314a5 (patch) | |
tree | a0f87d9af3ca63e7538f4d36731fc25c9e696e6a /src/xine-engine/scratch.h | |
parent | a4317ba4c8a7d96075802f98db257378381ff288 (diff) | |
download | xine-lib-fb195a9ef3010068f663faaf2ee284749af314a5.tar.gz xine-lib-fb195a9ef3010068f663faaf2ee284749af314a5.tar.bz2 |
Add missing format attributes for in-xine code.
CVS patchset: 8078
CVS date: 2006/06/29 12:28:06
Diffstat (limited to 'src/xine-engine/scratch.h')
-rw-r--r-- | src/xine-engine/scratch.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/xine-engine/scratch.h b/src/xine-engine/scratch.h index 40e116ab8..34e2b3d9b 100644 --- a/src/xine-engine/scratch.h +++ b/src/xine-engine/scratch.h @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: scratch.h,v 1.8 2003/12/09 00:02:37 f1rmb Exp $ + * $Id: scratch.h,v 1.9 2006/06/29 12:28:06 dgp85 Exp $ * * scratch buffer for log output * @@ -34,7 +34,8 @@ typedef struct scratch_buffer_s scratch_buffer_t; struct scratch_buffer_s { - void (*scratch_printf) (scratch_buffer_t *this, const char *format, va_list ap); + void __attribute__((__format__(__printf__, 2, 0))) + (*scratch_printf) (scratch_buffer_t *this, const char *format, va_list ap); const char **(*get_content) (scratch_buffer_t *this); |