Mark mplayer_audio_read() function as static; it is not used outside the file.
author |
diego |
date |
Mon, 14 Jun 2010 09:33:48 +0000 |
parents |
60709ef498be |
children |
f1fffb77cd71 |
files |
mp3lib/test.c mp3lib/test2.c |
diffstat |
2 files changed, 4 insertions(+), 2 deletions(-)
[+]
|
line diff
--- a/mp3lib/test.c Mon Jun 14 08:55:32 2010 +0000
+++ b/mp3lib/test.c Mon Jun 14 09:33:48 2010 +0000
@@ -39,7 +39,8 @@
static FILE* mp3file=NULL;
-int mplayer_audio_read(char *buf,int size){
+static int mplayer_audio_read(char *buf, int size)
+{
return fread(buf,1,size,mp3file);
}
--- a/mp3lib/test2.c Mon Jun 14 08:55:32 2010 +0000
+++ b/mp3lib/test2.c Mon Jun 14 09:33:48 2010 +0000
@@ -31,7 +31,8 @@
static FILE* mp3file=NULL;
-int mplayer_audio_read(char *buf,int size){
+static int mplayer_audio_read(char *buf, int size)
+{
return fread(buf,1,size,mp3file);
}