summaryrefslogtreecommitdiffstats
path: root/mp3lib
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-01-05 14:48:03 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-01-05 14:48:03 +0000
commit824abb5a65c1de35259818956e22a24c33f318b4 (patch)
treea81ec268f4afe16439d2ec2af0bf2d2b504c321b /mp3lib
parent24617c7318bb4f408a6152b3885d60bee9370fc4 (diff)
downloadmpv-824abb5a65c1de35259818956e22a24c33f318b4.tar.bz2
mpv-824abb5a65c1de35259818956e22a24c33f318b4.tar.xz
Add missing 'void' keyword to parameterless function declarations.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28267 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mp3lib')
-rw-r--r--mp3lib/sr1.c4
-rw-r--r--mp3lib/test.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/mp3lib/sr1.c b/mp3lib/sr1.c
index c5a0a1b9e7..d31998f586 100644
--- a/mp3lib/sr1.c
+++ b/mp3lib/sr1.c
@@ -496,7 +496,7 @@ void MP3_Init(void){
#if 0
-void MP3_Close(){
+void MP3_Close(void){
MP3_eof=1;
if(mp3_file) fclose(mp3_file);
mp3_file=NULL;
@@ -565,7 +565,7 @@ void MP3_PrintHeader(void){
#include "genre.h"
// Read & print ID3 TAG. Do not call when playing!!! returns filesize.
-int MP3_PrintTAG(){
+int MP3_PrintTAG(void){
struct id3tag {
char tag[3];
char title[30];
diff --git a/mp3lib/test.c b/mp3lib/test.c
index c9613ee99b..ea0169185b 100644
--- a/mp3lib/test.c
+++ b/mp3lib/test.c
@@ -11,7 +11,7 @@
#include "mp3lib/mp3.h"
#include "cpudetect.h"
-static inline unsigned int GetTimer(){
+static inline unsigned int GetTimer(void){
struct timeval tv;
struct timezone tz;
// float s;