output_list: make the list truly "const"

This commit is contained in:
Max Kellermann 2012-06-12 20:30:55 +02:00
parent 8aa29d5a66
commit ed915fed92
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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);