summaryrefslogtreecommitdiff
path: root/src/xine-engine/scratch.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/xine-engine/scratch.h')
-rw-r--r--src/xine-engine/scratch.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/xine-engine/scratch.h b/src/xine-engine/scratch.h
index 1029276e3..c45af198f 100644
--- a/src/xine-engine/scratch.h
+++ b/src/xine-engine/scratch.h
@@ -32,10 +32,7 @@ typedef struct scratch_buffer_s scratch_buffer_t;
struct scratch_buffer_s {
- void
-#if __GNUC__ >= 3
- __attribute__((__format__(__printf__, 2, 0)))
-#endif
+ void XINE_FORMAT_PRINTF(2, 0)
(*scratch_printf) (scratch_buffer_t *this, const char *format, va_list ap);
char **(*get_content) (scratch_buffer_t *this);