diff options
author | Max Kellermann <max@duempel.org> | 2008-09-08 11:43:38 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-08 11:43:38 +0200 |
commit | 3f6fe915ebff003b907bc0c70502d21691b50095 (patch) | |
tree | 1d144aa6605ce6a4efb59fc2d724d0c8fe919a2c /src/audioOutputs/audioOutput_mvp.c | |
parent | be046b25a4e2583f63d6b3da680e6451957750e4 (diff) | |
download | mpd-3f6fe915ebff003b907bc0c70502d21691b50095.tar.gz mpd-3f6fe915ebff003b907bc0c70502d21691b50095.tar.xz mpd-3f6fe915ebff003b907bc0c70502d21691b50095.zip |
output: const plugin structures
Since the plugin struct is never modified, we should store it in
constant locations.
Diffstat (limited to 'src/audioOutputs/audioOutput_mvp.c')
-rw-r--r-- | src/audioOutputs/audioOutput_mvp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audioOutputs/audioOutput_mvp.c b/src/audioOutputs/audioOutput_mvp.c index c232b73b1..ba41c1703 100644 --- a/src/audioOutputs/audioOutput_mvp.c +++ b/src/audioOutputs/audioOutput_mvp.c @@ -257,7 +257,7 @@ static int mvp_playAudio(struct audio_output *audioOutput, return 0; } -struct audio_output_plugin mvpPlugin = { +const struct audio_output_plugin mvpPlugin = { "mvp", mvp_testDefault, mvp_initDriver, |