diff options
author | Max Kellermann <max@duempel.org> | 2013-08-04 23:48:01 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-08-04 23:48:01 +0200 |
commit | 85b77b81caa40f8bcd03921380246cb5863d5d21 (patch) | |
tree | cf4bc60a6760c52bcbd642a253b45f3bc5ad8775 /src/playlist | |
parent | 5bf2ec5a74bb1247a8cc84e90577eecbee116c62 (diff) | |
download | mpd-85b77b81caa40f8bcd03921380246cb5863d5d21.tar.gz mpd-85b77b81caa40f8bcd03921380246cb5863d5d21.tar.xz mpd-85b77b81caa40f8bcd03921380246cb5863d5d21.zip |
*: use gcc.h macros instead of GLib
Diffstat (limited to 'src/playlist')
-rw-r--r-- | src/playlist/AsxPlaylistPlugin.cxx | 12 | ||||
-rw-r--r-- | src/playlist/RssPlaylistPlugin.cxx | 12 | ||||
-rw-r--r-- | src/playlist/XspfPlaylistPlugin.cxx | 16 |
3 files changed, 20 insertions, 20 deletions
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; |