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/playlist/AsxPlaylistPlugin.cxx | 12 ++++++------ src/playlist/RssPlaylistPlugin.cxx | 12 ++++++------ src/playlist/XspfPlaylistPlugin.cxx | 16 ++++++++-------- 3 files changed, 20 insertions(+), 20 deletions(-) (limited to 'src/playlist') diff --git a/src/playlist/AsxPlaylistPlugin.cxx b/src/playlist/AsxPlaylistPlugin.cxx index be94f81ff..b2287fcaf 100644 --- a/src/playlist/AsxPlaylistPlugin.cxx +++ b/src/playlist/AsxPlaylistPlugin.cxx @@ -79,11 +79,11 @@ get_attribute(const gchar **attribute_names, const gchar **attribute_values, } static void -asx_start_element(G_GNUC_UNUSED GMarkupParseContext *context, +asx_start_element(gcc_unused GMarkupParseContext *context, const gchar *element_name, const gchar **attribute_names, const gchar **attribute_values, - gpointer user_data, G_GNUC_UNUSED GError **error) + gpointer user_data, gcc_unused GError **error) { AsxParser *parser = (AsxParser *)user_data; @@ -130,9 +130,9 @@ asx_start_element(G_GNUC_UNUSED GMarkupParseContext *context, } static void -asx_end_element(G_GNUC_UNUSED GMarkupParseContext *context, +asx_end_element(gcc_unused GMarkupParseContext *context, const gchar *element_name, - gpointer user_data, G_GNUC_UNUSED GError **error) + gpointer user_data, gcc_unused GError **error) { AsxParser *parser = (AsxParser *)user_data; @@ -156,9 +156,9 @@ asx_end_element(G_GNUC_UNUSED GMarkupParseContext *context, } static void -asx_text(G_GNUC_UNUSED GMarkupParseContext *context, +asx_text(gcc_unused GMarkupParseContext *context, const gchar *text, gsize text_len, - gpointer user_data, G_GNUC_UNUSED GError **error) + gpointer user_data, gcc_unused GError **error) { AsxParser *parser = (AsxParser *)user_data; diff --git a/src/playlist/RssPlaylistPlugin.cxx b/src/playlist/RssPlaylistPlugin.cxx index e8f279bb2..df0f6bca3 100644 --- a/src/playlist/RssPlaylistPlugin.cxx +++ b/src/playlist/RssPlaylistPlugin.cxx @@ -78,11 +78,11 @@ get_attribute(const gchar **attribute_names, const gchar **attribute_values, } static void -rss_start_element(G_GNUC_UNUSED GMarkupParseContext *context, +rss_start_element(gcc_unused GMarkupParseContext *context, const gchar *element_name, const gchar **attribute_names, const gchar **attribute_values, - gpointer user_data, G_GNUC_UNUSED GError **error) + gpointer user_data, gcc_unused GError **error) { RssParser *parser = (RssParser *)user_data; @@ -127,9 +127,9 @@ rss_start_element(G_GNUC_UNUSED GMarkupParseContext *context, } static void -rss_end_element(G_GNUC_UNUSED GMarkupParseContext *context, +rss_end_element(gcc_unused GMarkupParseContext *context, const gchar *element_name, - gpointer user_data, G_GNUC_UNUSED GError **error) + gpointer user_data, gcc_unused GError **error) { RssParser *parser = (RssParser *)user_data; @@ -153,9 +153,9 @@ rss_end_element(G_GNUC_UNUSED GMarkupParseContext *context, } static void -rss_text(G_GNUC_UNUSED GMarkupParseContext *context, +rss_text(gcc_unused GMarkupParseContext *context, const gchar *text, gsize text_len, - gpointer user_data, G_GNUC_UNUSED GError **error) + gpointer user_data, gcc_unused GError **error) { RssParser *parser = (RssParser *)user_data; diff --git a/src/playlist/XspfPlaylistPlugin.cxx b/src/playlist/XspfPlaylistPlugin.cxx index cb3d19033..bf282eac9 100644 --- a/src/playlist/XspfPlaylistPlugin.cxx +++ b/src/playlist/XspfPlaylistPlugin.cxx @@ -67,11 +67,11 @@ struct XspfParser { }; static void -xspf_start_element(G_GNUC_UNUSED GMarkupParseContext *context, +xspf_start_element(gcc_unused GMarkupParseContext *context, const gchar *element_name, - G_GNUC_UNUSED const gchar **attribute_names, - G_GNUC_UNUSED const gchar **attribute_values, - gpointer user_data, G_GNUC_UNUSED GError **error) + gcc_unused const gchar **attribute_names, + gcc_unused const gchar **attribute_values, + gpointer user_data, gcc_unused GError **error) { XspfParser *parser = (XspfParser *)user_data; @@ -121,9 +121,9 @@ xspf_start_element(G_GNUC_UNUSED GMarkupParseContext *context, } static void -xspf_end_element(G_GNUC_UNUSED GMarkupParseContext *context, +xspf_end_element(gcc_unused GMarkupParseContext *context, const gchar *element_name, - gpointer user_data, G_GNUC_UNUSED GError **error) + gpointer user_data, gcc_unused GError **error) { XspfParser *parser = (XspfParser *)user_data; @@ -161,9 +161,9 @@ xspf_end_element(G_GNUC_UNUSED GMarkupParseContext *context, } static void -xspf_text(G_GNUC_UNUSED GMarkupParseContext *context, +xspf_text(gcc_unused GMarkupParseContext *context, const gchar *text, gsize text_len, - gpointer user_data, G_GNUC_UNUSED GError **error) + gpointer user_data, gcc_unused GError **error) { XspfParser *parser = (XspfParser *)user_data; -- cgit v1.2.3