diff options
author | Eric Wong <normalperson@yhbt.net> | 2006-07-17 01:47:32 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2006-07-17 01:47:32 +0000 |
commit | 6f013cd9c4575c0be5b888c55de43186a6b6d698 (patch) | |
tree | f206035284494e61078b27b19041eb70ebda635e /src/inputPlugins/mod_plugin.c | |
parent | 5f508702229febe6c042de2d4fe6d23b855cd410 (diff) | |
download | mpd-6f013cd9c4575c0be5b888c55de43186a6b6d698.tar.gz mpd-6f013cd9c4575c0be5b888c55de43186a6b6d698.tar.xz mpd-6f013cd9c4575c0be5b888c55de43186a6b6d698.zip |
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
Diffstat (limited to '')
-rw-r--r-- | src/inputPlugins/mod_plugin.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/inputPlugins/mod_plugin.c b/src/inputPlugins/mod_plugin.c index 7a2a053e3..e06af869c 100644 --- a/src/inputPlugins/mod_plugin.c +++ b/src/inputPlugins/mod_plugin.c @@ -54,7 +54,7 @@ static BOOL mod_mpd_IsThere(void) { return 1; } -MDRIVER drv_mpd = +static MDRIVER drv_mpd = { NULL, "MPD", @@ -120,7 +120,7 @@ static int mod_initMikMod(void) { return 0; } -void mod_finishMikMod(void) { +static void mod_finishMikMod(void) { MikMod_Exit(); } @@ -152,7 +152,7 @@ static void mod_close(mod_Data * data) { free(data); } -int mod_decode(OutputBuffer * cb, DecoderControl * dc, char * path) { +static int mod_decode(OutputBuffer * cb, DecoderControl * dc, char * path) { mod_Data * data; float time = 0.0; int ret; @@ -207,7 +207,7 @@ int mod_decode(OutputBuffer * cb, DecoderControl * dc, char * path) { return 0; } -MpdTag * modTagDup(char * file) { +static MpdTag * modTagDup(char * file) { MpdTag * ret = NULL; MODULE * moduleHandle; char * title; @@ -236,7 +236,7 @@ MpdTag * modTagDup(char * file) { return ret; } -char * modSuffixes[] = {"amf", +static char * modSuffixes[] = {"amf", "dsm", "far", "gdm", |