diff options
author | Max Kellermann <max@duempel.org> | 2009-01-01 18:09:24 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-01 18:09:24 +0100 |
commit | 17bdcc8bae5af513b9b2902e90dfad4d7a0e7dfc (patch) | |
tree | 6cb5495417da4bf2ee80255443a3df8ba16e63a8 /src/decoder/_flac_common.c | |
parent | 7dfe301b54c36ccd934246e81bde6b73e241f858 (diff) | |
download | mpd-17bdcc8bae5af513b9b2902e90dfad4d7a0e7dfc.tar.gz mpd-17bdcc8bae5af513b9b2902e90dfad4d7a0e7dfc.tar.xz mpd-17bdcc8bae5af513b9b2902e90dfad4d7a0e7dfc.zip |
decoder plugins: don't include gcc.h
Use GLib's G_GNUC_UNUSED instead of gcc.h's mpd_unused.
Diffstat (limited to '')
-rw-r--r-- | src/decoder/_flac_common.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/decoder/_flac_common.c b/src/decoder/_flac_common.c index 5fea91734..e7aff545d 100644 --- a/src/decoder/_flac_common.c +++ b/src/decoder/_flac_common.c @@ -21,6 +21,8 @@ #include "_flac_common.h" +#include <glib.h> + #include <FLAC/format.h> #include <FLAC/metadata.h> @@ -169,7 +171,7 @@ void flac_metadata_common_cb(const FLAC__StreamMetadata * block, void flac_error_common_cb(const char *plugin, const FLAC__StreamDecoderErrorStatus status, - mpd_unused FlacData * data) + G_GNUC_UNUSED FlacData * data) { if (decoder_get_command(data->decoder) == DECODE_COMMAND_STOP) return; |