output_list: make the list truly "const"
This commit is contained in:
parent
8aa29d5a66
commit
ed915fed92
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user