Technically, such functions should be declared with (void), not ().
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 )
{
#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 )
{
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++ )
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;
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 );