Commit 3db6b2c2 authored by Fiona Glaser's avatar Fiona Glaser

Fix syntax for some parameterless functions

Technically, such functions should be declared with (void), not ().
parent 24a56d38
......@@ -200,7 +200,7 @@ void x264_log( x264_t *h, int i_level, const char *psz_fmt, ... );
void x264_reduce_fraction( uint32_t *n, uint32_t *d );
void x264_reduce_fraction64( uint64_t *n, uint64_t *d );
void x264_init_vlc_tables();
void x264_init_vlc_tables( void );
static ALWAYS_INLINE pixel x264_clip_pixel( int x )
{
......
......@@ -286,8 +286,8 @@ uint32_t x264_cpu_detect( void )
#elif ARCH_ARM
void x264_cpu_neon_test();
int x264_cpu_fast_neon_mrc_test();
void x264_cpu_neon_test( void );
int x264_cpu_fast_neon_mrc_test( void );
uint32_t x264_cpu_detect( void )
{
......
......@@ -695,7 +695,7 @@ const vlc_t x264_run_before[7][16] =
vlc_large_t x264_level_token[7][LEVEL_TABLE_SIZE];
void x264_init_vlc_tables()
void x264_init_vlc_tables( void )
{
for( int i_suffix = 0; i_suffix < 7; i_suffix++ )
for( int16_t level = -LEVEL_TABLE_SIZE/2; level < LEVEL_TABLE_SIZE/2; level++ )
......
......@@ -42,7 +42,7 @@ static void register_vid_filter( cli_vid_filter_t *new_filter )
register_vid_filter( &name##_filter );\
}
void x264_register_vid_filters()
void x264_register_vid_filters( void )
{
extern cli_vid_filter_t source_filter;
first_filter = &source_filter;
......
......@@ -55,7 +55,7 @@ struct cli_vid_filter_t
cli_vid_filter_t *next;
};
void x264_register_vid_filters();
void x264_register_vid_filters( void );
void x264_vid_filter_help( int longhelp );
int x264_init_vid_filter( const char *name, hnd_t *handle, cli_vid_filter_t *filter,
video_info_t *info, x264_param_t *param, char *opt_string );
......
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