diff options
author | Max Kellermann <max@duempel.org> | 2008-08-26 08:27:08 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-08-26 08:27:08 +0200 |
commit | e41be362a1dc5691721d72b7f915e32d7f5272bb (patch) | |
tree | 296478ef28a6c2a9dbf54e39328b754223459cf2 /src/inputPlugins/mpc_plugin.c | |
parent | cdaa26c81d692fefe5c9c2a4a01dcff633c99564 (diff) | |
download | mpd-e41be362a1dc5691721d72b7f915e32d7f5272bb.tar.gz mpd-e41be362a1dc5691721d72b7f915e32d7f5272bb.tar.xz mpd-e41be362a1dc5691721d72b7f915e32d7f5272bb.zip |
renamed InputPlugin to struct decoder_plugin
"decoder plugin" is a better name than "input plugin", since the
plugin does not actually do the input - InputStream does. Also don't
use typedef, so we can forward-declare it if required.
Diffstat (limited to 'src/inputPlugins/mpc_plugin.c')
-rw-r--r-- | src/inputPlugins/mpc_plugin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inputPlugins/mpc_plugin.c b/src/inputPlugins/mpc_plugin.c index 829f15c67..411373283 100644 --- a/src/inputPlugins/mpc_plugin.c +++ b/src/inputPlugins/mpc_plugin.c @@ -313,7 +313,7 @@ static MpdTag *mpcTagDup(char *file) static const char *mpcSuffixes[] = { "mpc", NULL }; -InputPlugin mpcPlugin = { +struct decoder_plugin mpcPlugin = { "mpc", NULL, NULL, @@ -328,6 +328,6 @@ InputPlugin mpcPlugin = { #else -InputPlugin mpcPlugin; +struct decoder_plugin mpcPlugin; #endif /* HAVE_MPCDEC */ |