From 6f013cd9c4575c0be5b888c55de43186a6b6d698 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 17 Jul 2006 01:47:32 +0000 Subject: inputPlugins/*_plugin.c: static-fication Nothing here is ever exported for linkage besides the InputPlugin structure, so mark them static to save a few bytes. git-svn-id: https://svn.musicpd.org/mpd/trunk@4382 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/inputPlugins/audiofile_plugin.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/inputPlugins/audiofile_plugin.c') diff --git a/src/inputPlugins/audiofile_plugin.c b/src/inputPlugins/audiofile_plugin.c index 0e52dc22f..86a54c690 100644 --- a/src/inputPlugins/audiofile_plugin.c +++ b/src/inputPlugins/audiofile_plugin.c @@ -37,7 +37,7 @@ #include #include -int getAudiofileTotalTime(char * file) +static int getAudiofileTotalTime(char * file) { int time; AFfilehandle af_fp = afOpenFile(file, "r", NULL); @@ -51,7 +51,7 @@ int getAudiofileTotalTime(char * file) return time; } -int audiofile_decode(OutputBuffer * cb, DecoderControl * dc, char * path) { +static int audiofile_decode(OutputBuffer * cb, DecoderControl * dc, char * path) { int fs, frame_count; AFfilehandle af_fp; int bits; @@ -140,7 +140,7 @@ int audiofile_decode(OutputBuffer * cb, DecoderControl * dc, char * path) { return 0; } -MpdTag * audiofileTagDup(char * file) { +static MpdTag * audiofileTagDup(char * file) { MpdTag * ret = NULL; int time = getAudiofileTotalTime(file); @@ -155,7 +155,7 @@ MpdTag * audiofileTagDup(char * file) { return ret; } -char * audiofileSuffixes[] = {"wav", "au", "aiff", "aif", NULL}; +static char * audiofileSuffixes[] = {"wav", "au", "aiff", "aif", NULL}; InputPlugin audiofilePlugin = { -- cgit v1.2.3