aboutsummaryrefslogtreecommitdiffstats
path: root/src/audioOutputs/audioOutput_shout.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-12 16:39:53 +0200
committerMax Kellermann <max@duempel.org>2008-09-12 16:39:53 +0200
commitebd194998aa6f140a0889a9d51fb356f76639361 (patch)
treee6fa2a3ee1a459e5202f3b660485d786f61b9a57 /src/audioOutputs/audioOutput_shout.c
parentd9f170b5dbad075a4cc3651054bd1751c3f66fbc (diff)
downloadmpd-ebd194998aa6f140a0889a9d51fb356f76639361.tar.gz
mpd-ebd194998aa6f140a0889a9d51fb356f76639361.tar.xz
mpd-ebd194998aa6f140a0889a9d51fb356f76639361.zip
shout: constant plugin declarations
Declare both shout plugins "const", since they will never change, once initialized at compile time.
Diffstat (limited to '')
-rw-r--r--src/audioOutputs/audioOutput_shout.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audioOutputs/audioOutput_shout.c b/src/audioOutputs/audioOutput_shout.c
index 3771ccdc4..f6f15ba49 100644
--- a/src/audioOutputs/audioOutput_shout.c
+++ b/src/audioOutputs/audioOutput_shout.c
@@ -29,13 +29,13 @@
static int shout_init_count;
-static struct shout_encoder_plugin *const shout_encoder_plugins[] = {
+static const struct shout_encoder_plugin *const shout_encoder_plugins[] = {
&shout_mp3_encoder,
&shout_ogg_encoder,
NULL
};
-static struct shout_encoder_plugin *
+static const struct shout_encoder_plugin *
shout_encoder_plugin_get(const char *name)
{
unsigned i;