output: const plugin structures

Since the plugin struct is never modified, we should store it in
constant locations.
This commit is contained in:
Max Kellermann
2008-09-08 11:43:38 +02:00
parent be046b25a4
commit 3f6fe915eb
11 changed files with 11 additions and 11 deletions

View File

@@ -28,7 +28,7 @@
#include "log.h"
#include "os_compat.h"
#define DISABLED_AUDIO_OUTPUT_PLUGIN(plugin) struct audio_output_plugin plugin;
#define DISABLED_AUDIO_OUTPUT_PLUGIN(plugin) const struct audio_output_plugin plugin;
struct audio_output;