From 3f6fe915ebff003b907bc0c70502d21691b50095 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 8 Sep 2008 11:43:38 +0200 Subject: output: const plugin structures Since the plugin struct is never modified, we should store it in constant locations. --- src/audioOutputs/audioOutput_osx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/audioOutputs/audioOutput_osx.c') diff --git a/src/audioOutputs/audioOutput_osx.c b/src/audioOutputs/audioOutput_osx.c index 1cdcb473c..e8a65c453 100644 --- a/src/audioOutputs/audioOutput_osx.c +++ b/src/audioOutputs/audioOutput_osx.c @@ -355,7 +355,7 @@ static int osx_play(struct audio_output *audioOutput, return 0; } -struct audio_output_plugin osxPlugin = { +const struct audio_output_plugin osxPlugin = { "osx", osx_testDefault, osx_initDriver, -- cgit v1.2.3