diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-04-22 19:05:27 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-11-04 11:02:13 +0100 |
commit | 76caa0a6e1ad8d2dc27eb34f2b106f2e61d3acd6 (patch) | |
tree | 3d79ccd0f2d6fa0c03ee808a7ff292b8f14d91f4 | |
parent | 982f06ee65f5fbca2d9c50555df43119f6c7b81f (diff) |
decoder_api: drop silly glib attributes
-rw-r--r-- | src/decoder_api.c | 12 |
1 files 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); |