*: use gcc.h macros instead of GLib
This commit is contained in:
@@ -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;
|
||||
|
||||
|
@@ -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;
|
||||
|
||||
|
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user