# define VLC_FORMAT_ARG(x) __attribute__ ((format_arg(x)))
# define VLC_MALLOC __attribute__ ((malloc))
+# define VLC_NORETURN __attribute__ ((noreturn))
# if VLC_GCC_VERSION(3,4)
# define VLC_USED __attribute__ ((warn_unused_result))
# define VLC_FORMAT(x,y)
# define VLC_FORMAT_ARG(x)
# define VLC_MALLOC
+# define VLC_NORETURN
# define VLC_USED
#endif
return -1;
}
+VLC_NORETURN
static void *KeepAliveThread( void *p_data )
{
access_t *p_access = p_data;
/*****************************************************************************
*
*****************************************************************************/
+VLC_NORETURN
static void* TimeoutPrevention( void *p_data )
{
timeout_thread_t *p_timeout = (timeout_thread_t *)p_data;
extern char **environ;
+VLC_NORETURN
static void *Thread (void *data)
{
vlc_inhibit_t *ih = data;
/*****************************************************************************
* Run: main thread
*****************************************************************************/
+VLC_NORETURN
static void *Run( void *data )
{
services_discovery_t *p_sd = data;
vlc_atomic_t overruns;
};
+VLC_NORETURN
static void *vlc_timer_thread (void *data)
{
struct vlc_timer *timer = data;
* \param p_this the SAP Handler object
* \return nothing
*/
+VLC_NORETURN
static void *RunThread (void *self)
{
sap_address_t *addr = self;
vlc_mutex_unlock(&osys->lock);
}
-#ifdef __GNUC__
-static void *VoutDisplayEventKeyDispatch(void *data) __attribute__((noreturn));
-#endif
+VLC_NORETURN
static void *VoutDisplayEventKeyDispatch(void *data)
{
vout_display_owner_sys_t *osys = data;