# HG changeset patch # User diego # Date 1231163863 0 # Node ID f8bf438c60005b9350421a9a6a1d423cd3c27aed # Parent 4c851747ee74178ffc1a57a5a4024bc46f9b745d Add missing 'void' keyword to parameterless function declarations. diff -r 4c851747ee74 -r f8bf438c6000 intrax8.c --- a/intrax8.c Mon Jan 05 11:49:15 2009 +0000 +++ b/intrax8.c Mon Jan 05 13:57:43 2009 +0000 @@ -42,7 +42,7 @@ 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 -r 4c851747ee74 -r f8bf438c6000 x86/dsputil_mmx.c --- a/x86/dsputil_mmx.c Mon Jan 05 11:49:15 2009 +0000 +++ b/x86/dsputil_mmx.c Mon Jan 05 13:57:43 2009 +0000 @@ -1599,7 +1599,7 @@ #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 -r 4c851747ee74 -r f8bf438c6000 x86/simple_idct_mmx.c --- a/x86/simple_idct_mmx.c Mon Jan 05 11:49:15 2009 +0000 +++ b/x86/simple_idct_mmx.c Mon Jan 05 13:57:43 2009 +0000 @@ -80,7 +80,8 @@ }; #if 0 -static void unused_var_killer(){ +static void unused_var_killer(void) +{ int a= wm1010 + d40000; temp[0]=a; }