changeset 28095:7448d949d6b4

Add missing 'void' to parameterless function declaration.
author diego
date Thu, 11 Dec 2008 21:45:11 +0000
parents 1e6d3a382e7b
children 56c53d573835
files mp3lib/mp3.h mp3lib/sr1.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mp3lib/mp3.h	Thu Dec 11 21:29:01 2008 +0000
+++ b/mp3lib/mp3.h	Thu Dec 11 21:45:11 2008 +0000
@@ -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);
--- a/mp3lib/sr1.c	Thu Dec 11 21:29:01 2008 +0000
+++ b/mp3lib/sr1.c	Thu Dec 11 21:45:11 2008 +0000
@@ -403,7 +403,7 @@
 #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!