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/mod_plugin.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/inputPlugins/mod_plugin.c') 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", -- cgit v1.2.3