diff options
author | Max Kellermann <max@duempel.org> | 2013-02-02 08:31:17 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-02-02 08:31:17 +0100 |
commit | e6b04d1b50c0b455a255bd90ea72f51eb323e62d (patch) | |
tree | fd6a40716fd85f716f0333471ee6b6d77347f3b5 /src/filter/NullFilterPlugin.cxx | |
parent | 12613356fc64e8ed94e709accfb1f3b5e3b5bd33 (diff) | |
download | mpd-e6b04d1b50c0b455a255bd90ea72f51eb323e62d.tar.gz mpd-e6b04d1b50c0b455a255bd90ea72f51eb323e62d.tar.xz mpd-e6b04d1b50c0b455a255bd90ea72f51eb323e62d.zip |
filter/*: don't use GLib macros
Diffstat (limited to 'src/filter/NullFilterPlugin.cxx')
-rw-r--r-- | src/filter/NullFilterPlugin.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/filter/NullFilterPlugin.cxx b/src/filter/NullFilterPlugin.cxx index 9c1a9c959..83082de55 100644 --- a/src/filter/NullFilterPlugin.cxx +++ b/src/filter/NullFilterPlugin.cxx @@ -28,17 +28,17 @@ #include "FilterPlugin.hxx" #include "FilterInternal.hxx" #include "FilterRegistry.hxx" +#include "gcc.h" #include <glib.h> -#include <assert.h> struct null_filter { struct filter filter; }; static struct filter * -null_filter_init(G_GNUC_UNUSED const struct config_param *param, - G_GNUC_UNUSED GError **error_r) +null_filter_init(gcc_unused const struct config_param *param, + gcc_unused GError **error_r) { struct null_filter *filter = g_new(struct null_filter, 1); @@ -56,7 +56,7 @@ null_filter_finish(struct filter *_filter) static const struct audio_format * null_filter_open(struct filter *_filter, struct audio_format *audio_format, - G_GNUC_UNUSED GError **error_r) + gcc_unused GError **error_r) { struct null_filter *filter = (struct null_filter *)_filter; (void)filter; @@ -74,7 +74,7 @@ null_filter_close(struct filter *_filter) static const void * null_filter_filter(struct filter *_filter, const void *src, size_t src_size, - size_t *dest_size_r, G_GNUC_UNUSED GError **error_r) + size_t *dest_size_r, gcc_unused GError **error_r) { struct null_filter *filter = (struct null_filter *)_filter; (void)filter; |