From 85b77b81caa40f8bcd03921380246cb5863d5d21 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 4 Aug 2013 23:48:01 +0200 Subject: *: use gcc.h macros instead of GLib --- src/decoder/FluidsynthDecoderPlugin.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/decoder/FluidsynthDecoderPlugin.cxx') diff --git a/src/decoder/FluidsynthDecoderPlugin.cxx b/src/decoder/FluidsynthDecoderPlugin.cxx index 7d56d4f1f..9e9c9b2ce 100644 --- a/src/decoder/FluidsynthDecoderPlugin.cxx +++ b/src/decoder/FluidsynthDecoderPlugin.cxx @@ -64,7 +64,7 @@ fluidsynth_level_to_glib(enum fluid_log_level level) * logging library. */ static void -fluidsynth_mpd_log_function(int level, char *message, G_GNUC_UNUSED void *data) +fluidsynth_mpd_log_function(int level, char *message, gcc_unused void *data) { g_log(G_LOG_DOMAIN, fluidsynth_level_to_glib(fluid_log_level(level)), "%s", message); @@ -199,8 +199,8 @@ fluidsynth_file_decode(struct decoder *decoder, const char *path_fs) static bool fluidsynth_scan_file(const char *file, - G_GNUC_UNUSED const struct tag_handler *handler, - G_GNUC_UNUSED void *handler_ctx) + gcc_unused const struct tag_handler *handler, + gcc_unused void *handler_ctx) { return fluid_is_midifile(file); } -- cgit v1.2.3