diff options
Diffstat (limited to 'include/xine')
-rw-r--r-- | include/xine/attributes.h | 6 | ||||
-rw-r--r-- | include/xine/buffer.h | 6 |
2 files changed, 7 insertions, 5 deletions
diff --git a/include/xine/attributes.h b/include/xine/attributes.h index 3819818d5..d7a0e2f1e 100644 --- a/include/xine/attributes.h +++ b/include/xine/attributes.h @@ -1,7 +1,7 @@ /* * attributes.h * Copyright (C) 1999-2000 Aaron Holtzman <aholtzma@ess.engr.uvic.ca> - * Copyright (C) 2001-2007 xine developers + * Copyright (C) 2001-2008 xine developers * * This file was originally part of mpeg2dec, a free MPEG-2 video stream * decoder. @@ -72,7 +72,7 @@ # define XINE_SENTINEL #endif -#ifdef SUPPORT_ATTRIBUTE_DEPRECATED +#if defined(SUPPORT_ATTRIBUTE_DEPRECATED) && !defined(XINE_COMPILE) # define XINE_DEPRECATED __attribute__((__deprecated__)) #else # define XINE_DEPRECATED @@ -89,8 +89,10 @@ /* Format attributes */ #ifdef SUPPORT_ATTRIBUTE_FORMAT # define XINE_FORMAT_PRINTF(fmt,var) __attribute__((__format__(__printf__, fmt, var))) +# define XINE_FORMAT_SCANF(fmt,var) __attribute__((__format__(__scanf__, fmt, var))) #else # define XINE_FORMAT_PRINTF(fmt,var) +# define XINE_FORMAT_SCANF(fmt,var) #endif #ifdef SUPPORT_ATTRIBUTE_FORMAT_ARG # define XINE_FORMAT_PRINTF_ARG(fmt) __attribute__((__format_arg__(fmt))) diff --git a/include/xine/buffer.h b/include/xine/buffer.h index 110bcf4b9..e64246a41 100644 --- a/include/xine/buffer.h +++ b/include/xine/buffer.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2000-2004 the xine project + * Copyright (C) 2000-2008 the xine project * * This file is part of xine, a free video player. * @@ -655,7 +655,7 @@ uint32_t _x_fourcc_to_buf_video( uint32_t fourcc_int ) XINE_PROTECTED; * @param buf_type One of the \ref buffer_video "BUF_VIDEO_xxx" values. * @sa _x_buf_audio_name */ -const char *_x_buf_video_name( uint32_t buf_type ) XINE_PROTECTED; +const char * _x_buf_video_name( uint32_t buf_type ) XINE_PROTECTED; /** * @brief Returns the \ref buffer_audio "BUF_AUDIO_xxx" for the given formattag. @@ -669,7 +669,7 @@ uint32_t _x_formattag_to_buf_audio( uint32_t formattag ) XINE_PROTECTED; * @param buf_type One of the \ref buffer_audio "BUF_AUDIO_xxx" values. * @sa _x_buf_video_name */ -const char *_x_buf_audio_name( uint32_t buf_type ) XINE_PROTECTED; +const char * _x_buf_audio_name( uint32_t buf_type ) XINE_PROTECTED; /** |