diff options
Diffstat (limited to 'src/output_plugin.h')
-rw-r--r-- | src/output_plugin.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/output_plugin.h b/src/output_plugin.h index 7ac8e0c4f..a47296566 100644 --- a/src/output_plugin.h +++ b/src/output_plugin.h @@ -20,10 +20,9 @@ #ifndef MPD_OUTPUT_PLUGIN_H #define MPD_OUTPUT_PLUGIN_H +#include "gcc.h" #include "gerror.h" -#include <glib.h> - #include <stdbool.h> #include <stddef.h> @@ -167,7 +166,7 @@ ao_plugin_test_default_device(const struct audio_output_plugin *plugin) : false; } -G_GNUC_MALLOC +gcc_malloc struct audio_output * ao_plugin_init(const struct audio_output_plugin *plugin, const struct config_param *param, @@ -189,7 +188,7 @@ ao_plugin_open(struct audio_output *ao, struct audio_format *audio_format, void ao_plugin_close(struct audio_output *ao); -G_GNUC_PURE +gcc_pure unsigned ao_plugin_delay(struct audio_output *ao); |