Commit 82e4c4ba authored by Jean-Paul Saman's avatar Jean-Paul Saman

Coding Style fixes

parent 462e5370
...@@ -277,16 +277,16 @@ struct stats_handler_t ...@@ -277,16 +277,16 @@ struct stats_handler_t
VLC_EXPORT( void, stats_HandlerDestroy, (stats_handler_t*) ); VLC_EXPORT( void, stats_HandlerDestroy, (stats_handler_t*) );
#define stats_Update( a,b,c, d) __stats_Update( VLC_OBJECT( a ), b, c, d ) #define stats_Update(a,b,c,d) __stats_Update( VLC_OBJECT( a ), b, c, d )
VLC_EXPORT( int, __stats_Update, (vlc_object_t*, unsigned int, vlc_value_t, vlc_value_t *) ); VLC_EXPORT( int, __stats_Update, (vlc_object_t*, unsigned int, vlc_value_t, vlc_value_t *) );
#define stats_Create( a,b,c,d,e ) __stats_Create( VLC_OBJECT(a), b, c, d,e ) #define stats_Create(a,b,c,d,e) __stats_Create( VLC_OBJECT(a), b, c, d,e )
VLC_EXPORT( int, __stats_Create, (vlc_object_t*, const char *, unsigned int, int, int) ); VLC_EXPORT( int, __stats_Create, (vlc_object_t*, const char *, unsigned int, int, int) );
#define stats_Get( a,b,c,d ) __stats_Get( VLC_OBJECT(a), b, c, d ) #define stats_Get(a,b,c,d) __stats_Get( VLC_OBJECT(a), b, c, d )
VLC_EXPORT( int, __stats_Get, (vlc_object_t*, int, unsigned int, vlc_value_t*) ); VLC_EXPORT( int, __stats_Get, (vlc_object_t*, int, unsigned int, vlc_value_t*) );
#define stats_CounterGet( a,b,c) __stats_CounterGet( VLC_OBJECT(a), b, c ) #define stats_CounterGet(a,b,c) __stats_CounterGet( VLC_OBJECT(a), b, c )
VLC_EXPORT( counter_t*, __stats_CounterGet, (vlc_object_t*, int, unsigned int ) ); VLC_EXPORT( counter_t*, __stats_CounterGet, (vlc_object_t*, int, unsigned int ) );
#define stats_GetInteger( a,b,c,d ) __stats_GetInteger( VLC_OBJECT(a), b, c, d ) #define stats_GetInteger(a,b,c,d) __stats_GetInteger( VLC_OBJECT(a), b, c, d )
static inline int __stats_GetInteger( vlc_object_t *p_obj, int i_id, static inline int __stats_GetInteger( vlc_object_t *p_obj, int i_id,
unsigned int i_counter, int *value ) unsigned int i_counter, int *value )
{ {
...@@ -296,7 +296,7 @@ static inline int __stats_GetInteger( vlc_object_t *p_obj, int i_id, ...@@ -296,7 +296,7 @@ static inline int __stats_GetInteger( vlc_object_t *p_obj, int i_id,
return i_ret; return i_ret;
} }
#define stats_GetFloat(a,b,c,d ) __stats_GetFloat( VLC_OBJECT(a), b, c, d ) #define stats_GetFloat(a,b,c,d) __stats_GetFloat( VLC_OBJECT(a), b, c, d )
static inline int __stats_GetFloat( vlc_object_t *p_obj, int i_id, static inline int __stats_GetFloat( vlc_object_t *p_obj, int i_id,
unsigned int i_counter, float *value ) unsigned int i_counter, float *value )
{ {
...@@ -305,7 +305,7 @@ static inline int __stats_GetFloat( vlc_object_t *p_obj, int i_id, ...@@ -305,7 +305,7 @@ static inline int __stats_GetFloat( vlc_object_t *p_obj, int i_id,
*value = val.f_float; *value = val.f_float;
return i_ret; return i_ret;
} }
#define stats_UpdateInteger( a,b,c,d ) __stats_UpdateInteger( VLC_OBJECT(a),b,c,d ) #define stats_UpdateInteger(a,b,c,d) __stats_UpdateInteger( VLC_OBJECT(a),b,c,d )
static inline int __stats_UpdateInteger( vlc_object_t *p_obj, static inline int __stats_UpdateInteger( vlc_object_t *p_obj,
unsigned int i_counter, int i, unsigned int i_counter, int i,
int *pi_new ) int *pi_new )
...@@ -319,7 +319,7 @@ static inline int __stats_UpdateInteger( vlc_object_t *p_obj, ...@@ -319,7 +319,7 @@ static inline int __stats_UpdateInteger( vlc_object_t *p_obj,
*pi_new = new_val.i_int; *pi_new = new_val.i_int;
return i_ret; return i_ret;
} }
#define stats_UpdateFloat( a,b,c,d ) __stats_UpdateFloat( VLC_OBJECT(a),b,c,d ) #define stats_UpdateFloat(a,b,c,d) __stats_UpdateFloat( VLC_OBJECT(a),b,c,d )
static inline int __stats_UpdateFloat( vlc_object_t *p_obj, static inline int __stats_UpdateFloat( vlc_object_t *p_obj,
unsigned int i_counter, float f, unsigned int i_counter, float f,
float *pf_new ) float *pf_new )
...@@ -389,7 +389,7 @@ struct global_stats_t ...@@ -389,7 +389,7 @@ struct global_stats_t
int i_http_clients; int i_http_clients;
}; };
#define stats_ComputeGlobalStats( a,b) __stats_ComputeGlobalStats( VLC_OBJECT(a),b) #define stats_ComputeGlobalStats(a,b) __stats_ComputeGlobalStats( VLC_OBJECT(a),b)
VLC_EXPORT( void, __stats_ComputeGlobalStats, (vlc_object_t*,global_stats_t*)); VLC_EXPORT( void, __stats_ComputeGlobalStats, (vlc_object_t*,global_stats_t*));
......
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