changeset 8527:f8bf438c6000 libavcodec

Add missing 'void' keyword to parameterless function declarations.
author diego
date Mon, 05 Jan 2009 13:57:43 +0000
parents 4c851747ee74
children 84ee6c59e2b0
files intrax8.c x86/dsputil_mmx.c x86/simple_idct_mmx.c
diffstat 3 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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) \
--- 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,
--- 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;
 }