diff options
author | Diego Biurrun <diego@biurrun.de> | 2009-01-05 13:57:43 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2009-01-05 13:57:43 +0000 |
commit | c47d146be8cbfe41df8c4f1ce3b5bb993909514c (patch) | |
tree | a5637e12fa6c5016fcdfaae8a61583603c76b1a2 /libavcodec | |
parent | 5fd9c8b94aca3b41a34bf24f9ab7bc3ea426a43b (diff) | |
download | ffmpeg-c47d146be8cbfe41df8c4f1ce3b5bb993909514c.tar.gz |
Add missing 'void' keyword to parameterless function declarations.
Originally committed as revision 16436 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/intrax8.c | 2 | ||||
-rw-r--r-- | libavcodec/x86/dsputil_mmx.c | 2 | ||||
-rw-r--r-- | libavcodec/x86/simple_idct_mmx.c | 3 |
3 files changed, 4 insertions, 3 deletions
diff --git a/libavcodec/intrax8.c b/libavcodec/intrax8.c index 04fdf03852..1bca7f6504 100644 --- a/libavcodec/intrax8.c +++ b/libavcodec/intrax8.c @@ -42,7 +42,7 @@ static VLC j_ac_vlc[2][2][8]; //[quant<13],[intra/inter],[select] static VLC j_dc_vlc[2][8]; //[quant], [select] static VLC j_orient_vlc[2][4]; //[quant], [select] -static void x8_vlc_init(){ +static void x8_vlc_init(void){ int i; #define init_ac_vlc(dst,src) \ diff --git a/libavcodec/x86/dsputil_mmx.c b/libavcodec/x86/dsputil_mmx.c index f76a4fa33a..1d93351507 100644 --- a/libavcodec/x86/dsputil_mmx.c +++ b/libavcodec/x86/dsputil_mmx.c @@ -1599,7 +1599,7 @@ QPEL_2TAP(avg_, 8, 3dnow) #if 0 -static void just_return() { return; } +static void just_return(void) { return; } #endif static void gmc_mmx(uint8_t *dst, uint8_t *src, int stride, int h, int ox, int oy, diff --git a/libavcodec/x86/simple_idct_mmx.c b/libavcodec/x86/simple_idct_mmx.c index 6306fcbd44..578674451a 100644 --- a/libavcodec/x86/simple_idct_mmx.c +++ b/libavcodec/x86/simple_idct_mmx.c @@ -80,7 +80,8 @@ DECLARE_ALIGNED(8, static const int16_t, coeffs[])= { }; #if 0 -static void unused_var_killer(){ +static void unused_var_killer(void) +{ int a= wm1010 + d40000; temp[0]=a; } |