# HG changeset patch # User diego # Date 1233340705 0 # Node ID 18737839ed27eca8150c7c9559e8d6ca83a53307 # Parent 48442253aac2fac6709984355218da489ec4fe26 Add missing void keyword to parameterless function declarations. diff -r 48442253aac2 -r 18737839ed27 dct-test.c --- a/dct-test.c Fri Jan 30 17:15:08 2009 +0000 +++ b/dct-test.c Fri Jan 30 18:38:25 2009 +0000 @@ -48,7 +48,7 @@ /* reference fdct/idct */ void fdct(DCTELEM *block); void idct(DCTELEM *block); -void init_fdct(); +void init_fdct(void); void ff_mmx_idct(DCTELEM *data); void ff_mmxext_idct(DCTELEM *data); diff -r 48442253aac2 -r 18737839ed27 faxcompr.c --- a/faxcompr.c Fri Jan 30 17:15:08 2009 +0000 +++ b/faxcompr.c Fri Jan 30 18:38:25 2009 +0000 @@ -95,7 +95,7 @@ static VLC ccitt_vlc[2], ccitt_group3_2d_vlc; -av_cold void ff_ccitt_unpack_init() +av_cold void ff_ccitt_unpack_init(void) { static VLC_TYPE code_table1[528][2]; static VLC_TYPE code_table2[648][2]; diff -r 48442253aac2 -r 18737839ed27 faxcompr.h --- a/faxcompr.h Fri Jan 30 17:15:08 2009 +0000 +++ b/faxcompr.h Fri Jan 30 18:38:25 2009 +0000 @@ -33,7 +33,7 @@ /** * initialize upacker code */ -void ff_ccitt_unpack_init(); +void ff_ccitt_unpack_init(void); /** * unpack data compressed with CCITT Group 3 1/2-D or Group 4 method diff -r 48442253aac2 -r 18737839ed27 fdctref.c --- a/fdctref.c Fri Jan 30 17:15:08 2009 +0000 +++ b/fdctref.c Fri Jan 30 18:38:25 2009 +0000 @@ -46,7 +46,7 @@ /* private data */ static double c[8][8]; /* transform coefficients */ -void init_fdct() +void init_fdct(void) { int i, j; double s; diff -r 48442253aac2 -r 18737839ed27 mlp.c --- a/mlp.c Fri Jan 30 17:15:08 2009 +0000 +++ b/mlp.c Fri Jan 30 18:38:25 2009 +0000 @@ -46,7 +46,7 @@ static AVCRC crc_1D[1024]; static AVCRC crc_2D[1024]; -void av_cold ff_mlp_init_crc() +av_cold void ff_mlp_init_crc(void) { if (!crc_init) { av_crc_init(crc_63, 0, 8, 0x63, sizeof(crc_63)); diff -r 48442253aac2 -r 18737839ed27 mlp.h --- a/mlp.h Fri Jan 30 17:15:08 2009 +0000 +++ b/mlp.h Fri Jan 30 18:38:25 2009 +0000 @@ -106,7 +106,7 @@ */ uint8_t ff_mlp_calculate_parity(const uint8_t *buf, unsigned int buf_size); -void ff_mlp_init_crc(); +void ff_mlp_init_crc(void); /** XOR four bytes into one. */ static inline uint8_t xor_32_to_8(uint32_t value) diff -r 48442253aac2 -r 18737839ed27 mlpdec.c --- a/mlpdec.c Fri Jan 30 17:15:08 2009 +0000 +++ b/mlpdec.c Fri Jan 30 18:38:25 2009 +0000 @@ -141,7 +141,7 @@ /** Initialize static data, constant between all invocations of the codec. */ -static av_cold void init_static() +static av_cold void init_static(void) { INIT_VLC_STATIC(&huff_vlc[0], VLC_BITS, 18, &ff_mlp_huffman_tables[0][0][1], 2, 1, diff -r 48442253aac2 -r 18737839ed27 mpc.c --- a/mpc.c Fri Jan 30 17:15:08 2009 +0000 +++ b/mpc.c Fri Jan 30 18:38:25 2009 +0000 @@ -36,7 +36,7 @@ static DECLARE_ALIGNED_16(MPA_INT, mpa_window[512]); -void ff_mpc_init() +void ff_mpc_init(void) { ff_mpa_synth_init(mpa_window); } diff -r 48442253aac2 -r 18737839ed27 mpc.h --- a/mpc.h Fri Jan 30 17:15:08 2009 +0000 +++ b/mpc.h Fri Jan 30 18:38:25 2009 +0000 @@ -70,7 +70,7 @@ DECLARE_ALIGNED_16(int32_t, sb_samples[MPA_MAX_CHANNELS][36][SBLIMIT]); } MPCContext; -void ff_mpc_init(); +void ff_mpc_init(void); void ff_mpc_dequantize_and_synth(MPCContext *c, int maxband, void *dst); #endif /* AVCODEC_MPC_H */ diff -r 48442253aac2 -r 18737839ed27 rv34.c --- a/rv34.c Fri Jan 30 17:15:08 2009 +0000 +++ b/rv34.c Fri Jan 30 18:38:25 2009 +0000 @@ -101,7 +101,7 @@ /** * Initialize all tables. */ -static av_cold void rv34_init_tables() +static av_cold void rv34_init_tables(void) { int i, j, k; diff -r 48442253aac2 -r 18737839ed27 rv40.c --- a/rv40.c Fri Jan 30 17:15:08 2009 +0000 +++ b/rv40.c Fri Jan 30 18:38:25 2009 +0000 @@ -40,7 +40,7 @@ /** * Initialize all tables. */ -static av_cold void rv40_init_tables() +static av_cold void rv40_init_tables(void) { int i; diff -r 48442253aac2 -r 18737839ed27 sparc/dsputil_vis.c --- a/sparc/dsputil_vis.c Fri Jan 30 17:15:08 2009 +0000 +++ b/sparc/dsputil_vis.c Fri Jan 30 18:38:25 2009 +0000 @@ -3988,7 +3988,7 @@ #define ACCEL_SPARC_VIS 1 #define ACCEL_SPARC_VIS2 2 -static int vis_level () +static int vis_level(void) { int accel = 0; accel |= ACCEL_SPARC_VIS;