From 76caa0a6e1ad8d2dc27eb34f2b106f2e61d3acd6 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Mon, 22 Apr 2013 19:05:27 +0200 Subject: decoder_api: drop silly glib attributes --- src/decoder_api.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/decoder_api.c b/src/decoder_api.c index 81058ccb..b8edb8aa 100644 --- a/src/decoder_api.c +++ b/src/decoder_api.c @@ -79,7 +79,7 @@ void decoder_initialized(struct decoder *decoder, * Checks if we need an "initial seek". If so, then the initial seek * is prepared, and the function returns true. */ -G_GNUC_PURE static bool decoder_prepare_initial_seek(struct decoder *decoder) +static bool decoder_prepare_initial_seek(struct decoder *decoder) { const struct decoder_control *dc = decoder->dc; assert(dc->pipe != NULL); @@ -124,7 +124,7 @@ G_GNUC_PURE static bool decoder_prepare_initial_seek(struct decoder *decoder) * synthesized command, e.g. to seek to the beginning of the CUE * track. */ -G_GNUC_PURE static enum decoder_command decoder_get_virtual_command(struct decoder *decoder) +static enum decoder_command decoder_get_virtual_command(struct decoder *decoder) { const struct decoder_control *dc = decoder->dc; assert(dc->pipe != NULL); @@ -184,7 +184,7 @@ void decoder_command_finished(struct decoder *decoder) decoder_unlock(dc); } -double decoder_seek_where(G_GNUC_UNUSED struct decoder * decoder) +double decoder_seek_where(struct decoder * decoder) { const struct decoder_control *dc = decoder->dc; @@ -225,7 +225,7 @@ void decoder_seek_error(struct decoder * decoder) * Should be read operation be cancelled? That is the case when the * player thread has sent a command such as "STOP". */ -G_GNUC_PURE static inline bool decoder_check_cancel_read(const struct decoder *decoder) +static inline bool decoder_check_cancel_read(const struct decoder *decoder) { if (decoder == NULL) return false; @@ -457,10 +457,10 @@ enum decoder_command decoder_data(struct decoder *decoder, return DECODE_COMMAND_NONE; } -enum decoder_command decoder_tag(G_GNUC_UNUSED struct decoder *decoder, struct input_stream *is, +enum decoder_command decoder_tag(struct decoder *decoder, struct input_stream *is, const struct tag *tag) { - G_GNUC_UNUSED const struct decoder_control *dc = decoder->dc; + const struct decoder_control *dc = decoder->dc; enum decoder_command cmd; assert(dc->state == DECODE_STATE_DECODE); -- cgit v1.2.3