Commit 7dc37abe authored by Rémi Duraffort's avatar Rémi Duraffort

Remove some unneeded leading __ in functions names

parent 17bb975a
...@@ -136,10 +136,8 @@ struct intf_sys_t ...@@ -136,10 +136,8 @@ struct intf_sys_t
#endif #endif
}; };
#define msg_rc( ... ) __msg_rc( p_intf, __VA_ARGS__ )
VLC_FORMAT(2, 3) VLC_FORMAT(2, 3)
static void __msg_rc( intf_thread_t *p_intf, const char *psz_fmt, ... ) static void msg_rc( intf_thread_t *p_intf, const char *psz_fmt, ... )
{ {
va_list args; va_list args;
char fmt_eol[strlen (psz_fmt) + 3]; char fmt_eol[strlen (psz_fmt) + 3];
...@@ -153,6 +151,7 @@ static void __msg_rc( intf_thread_t *p_intf, const char *psz_fmt, ... ) ...@@ -153,6 +151,7 @@ static void __msg_rc( intf_thread_t *p_intf, const char *psz_fmt, ... )
net_vaPrintf( p_intf, p_intf->p_sys->i_socket, NULL, fmt_eol, args ); net_vaPrintf( p_intf, p_intf->p_sys->i_socket, NULL, fmt_eol, args );
va_end( args ); va_end( args );
} }
#define msg_rc( ... ) msg_rc( p_intf, __VA_ARGS__ )
/***************************************************************************** /*****************************************************************************
* Module descriptor * Module descriptor
......
...@@ -240,9 +240,7 @@ static const char *const ppsz_filter_options[] = { ...@@ -240,9 +240,7 @@ static const char *const ppsz_filter_options[] = {
* parse the "--mosaic-offsets x1,y1,x2,y2,x3,y3" parameter * parse the "--mosaic-offsets x1,y1,x2,y2,x3,y3" parameter
* and set the corresponding struct filter_sys_t entries. * and set the corresponding struct filter_sys_t entries.
*****************************************************************************/ *****************************************************************************/
#define mosaic_ParseSetOffsets( a, b, c ) \ static void mosaic_ParseSetOffsets( vlc_object_t *p_this,
__mosaic_ParseSetOffsets( VLC_OBJECT( a ), b, c )
static void __mosaic_ParseSetOffsets( vlc_object_t *p_this,
filter_sys_t *p_sys, filter_sys_t *p_sys,
char *psz_offsets ) char *psz_offsets )
{ {
...@@ -274,6 +272,8 @@ static void __mosaic_ParseSetOffsets( vlc_object_t *p_this, ...@@ -274,6 +272,8 @@ static void __mosaic_ParseSetOffsets( vlc_object_t *p_this,
p_sys->i_offsets_length = i_index; p_sys->i_offsets_length = i_index;
} }
} }
#define mosaic_ParseSetOffsets( a, b, c ) \
mosaic_ParseSetOffsets( VLC_OBJECT( a ), b, c )
/***************************************************************************** /*****************************************************************************
* CreateFiler: allocate mosaic video filter * CreateFiler: allocate mosaic video filter
......
...@@ -41,8 +41,7 @@ typedef struct bridge_t ...@@ -41,8 +41,7 @@ typedef struct bridge_t
int i_es_num; int i_es_num;
} bridge_t; } bridge_t;
#define GetBridge(a) __GetBridge( VLC_OBJECT(a) ) static bridge_t *GetBridge( vlc_object_t *p_object )
static bridge_t *__GetBridge( vlc_object_t *p_object )
{ {
vlc_object_t *p_libvlc = VLC_OBJECT( p_object->p_libvlc ); vlc_object_t *p_libvlc = VLC_OBJECT( p_object->p_libvlc );
vlc_value_t val; vlc_value_t val;
...@@ -56,4 +55,5 @@ static bridge_t *__GetBridge( vlc_object_t *p_object ) ...@@ -56,4 +55,5 @@ static bridge_t *__GetBridge( vlc_object_t *p_object )
return val.p_address; return val.p_address;
} }
} }
#define GetBridge(a) GetBridge( VLC_OBJECT(a) )
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment