aboutsummaryrefslogtreecommitdiffstats
path: root/src/output_api.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-08 11:43:38 +0200
committerMax Kellermann <max@duempel.org>2008-09-08 11:43:38 +0200
commit3f6fe915ebff003b907bc0c70502d21691b50095 (patch)
tree1d144aa6605ce6a4efb59fc2d724d0c8fe919a2c /src/output_api.h
parentbe046b25a4e2583f63d6b3da680e6451957750e4 (diff)
downloadmpd-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/output_api.h')
-rw-r--r--src/output_api.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output_api.h b/src/output_api.h
index 9d17d8664..ca4c8c5a1 100644
--- a/src/output_api.h
+++ b/src/output_api.h
@@ -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;