[MPlayer-cvslog] r28129 - in trunk/mp3lib: mp3.h sr1.c

diego subversion at mplayerhq.hu
Thu Dec 11 22:45:12 CET 2008


Author: diego
Date: Thu Dec 11 22:45:11 2008
New Revision: 28129

Log:
Add missing 'void' to parameterless function declaration.


Modified:
   trunk/mp3lib/mp3.h
   trunk/mp3lib/sr1.c

Modified: trunk/mp3lib/mp3.h
==============================================================================
--- trunk/mp3lib/mp3.h	(original)
+++ trunk/mp3lib/mp3.h	Thu Dec 11 22:45:11 2008
@@ -4,7 +4,7 @@
 #ifdef CONFIG_FAKE_MONO
 void MP3_Init(int fakemono);
 #else
-void MP3_Init();
+void MP3_Init(void);
 #endif
 int MP3_Open(char *filename, int buffsize);
 void MP3_SeekFrame(int num, int dir);

Modified: trunk/mp3lib/sr1.c
==============================================================================
--- trunk/mp3lib/sr1.c	(original)
+++ trunk/mp3lib/sr1.c	Thu Dec 11 22:45:11 2008
@@ -403,7 +403,7 @@ void (*dct64_MMX_func)(short *, short *,
 #ifdef CONFIG_FAKE_MONO
 void MP3_Init(int fakemono){
 #else
-void MP3_Init(){
+void MP3_Init(void){
 #endif
 
 //gCpuCaps.hasMMX=gCpuCaps.hasMMX2=gCpuCaps.hasSSE=0; // for testing!



More information about the MPlayer-cvslog mailing list