aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-06-12 20:30:55 +0200
committerMax Kellermann <max@duempel.org>2012-06-12 20:30:55 +0200
commited915fed9253c23755fda6cc48ece61fa8f5d3b0 (patch)
treee3a07c506b0217b653bb187bf640616328d9c07c /src
parent8aa29d5a66e127b4b14ef439d77250051ccddea0 (diff)
downloadmpd-ed915fed9253c23755fda6cc48ece61fa8f5d3b0.tar.gz
mpd-ed915fed9253c23755fda6cc48ece61fa8f5d3b0.tar.xz
mpd-ed915fed9253c23755fda6cc48ece61fa8f5d3b0.zip
output_list: make the list truly "const"
Diffstat (limited to 'src')
-rw-r--r--src/output_list.c2
-rw-r--r--src/output_list.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/output_list.c b/src/output_list.c
index bc5e7d749..07f2fa555 100644
--- a/src/output_list.c
+++ b/src/output_list.c
@@ -39,7 +39,7 @@ extern const struct audio_output_plugin recorder_output_plugin;
extern const struct audio_output_plugin winmm_output_plugin;
extern const struct audio_output_plugin ffado_output_plugin;
-const struct audio_output_plugin *audio_output_plugins[] = {
+const struct audio_output_plugin *const audio_output_plugins[] = {
#ifdef HAVE_SHOUT
&shoutPlugin,
#endif
diff --git a/src/output_list.h b/src/output_list.h
index d72bc224b..ee5102218 100644
--- a/src/output_list.h
+++ b/src/output_list.h
@@ -22,7 +22,7 @@
#include <stdio.h>
-extern const struct audio_output_plugin *audio_output_plugins[];
+extern const struct audio_output_plugin *const audio_output_plugins[];
const struct audio_output_plugin *
audio_output_plugin_get(const char *name);