output_list: make the list truly "const"
This commit is contained in:
		| @@ -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 winmm_output_plugin; | ||||||
| extern const struct audio_output_plugin ffado_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 | #ifdef HAVE_SHOUT | ||||||
| 	&shoutPlugin, | 	&shoutPlugin, | ||||||
| #endif | #endif | ||||||
|   | |||||||
| @@ -22,7 +22,7 @@ | |||||||
|  |  | ||||||
| #include <stdio.h> | #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 * | const struct audio_output_plugin * | ||||||
| audio_output_plugin_get(const char *name); | audio_output_plugin_get(const char *name); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Max Kellermann
					Max Kellermann