From: compudj Date: Sun, 8 Aug 2004 21:22:20 +0000 (+0000) Subject: UNUSED -> __UNUSED__ X-Git-Tag: v0.12.20~2807 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=51b5991eead370ec64ad5336d1e6126ba6b2cc10;p=lttv.git UNUSED -> __UNUSED__ git-svn-id: http://ltt.polymtl.ca/svn@682 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/ltt/tracefile.c b/ltt/branches/poly/ltt/tracefile.c index a1decdde..1480546a 100644 --- a/ltt/branches/poly/ltt/tracefile.c +++ b/ltt/branches/poly/ltt/tracefile.c @@ -39,7 +39,7 @@ #include #define DIR_NAME_SIZE 256 -#define UNUSED __attribute__((__unused__)) +#define __UNUSED__ __attribute__((__unused__)) /* set the offset of the fields belonging to the event, need the information of the archecture */ @@ -65,7 +65,7 @@ int skipEvent(LttTracefile * t); /* Functions to parse system.xml file (using glib xml parser) */ -static void parser_start_element (GMarkupParseContext UNUSED *context, +static void parser_start_element (GMarkupParseContext __UNUSED__ *context, const gchar *element_name, const gchar **attribute_names, const gchar **attribute_values, @@ -129,11 +129,11 @@ static void parser_start_element (GMarkupParseContext UNUSED *context, } } -static void parser_characters (GMarkupParseContext UNUSED *context, +static void parser_characters (GMarkupParseContext __UNUSED__ *context, const gchar *text, - gsize UNUSED text_len, + gsize __UNUSED__ text_len, gpointer user_data, - GError UNUSED **error) + GError __UNUSED__ **error) { LttSystemDescription* des = (LttSystemDescription* )user_data; des->description = g_strdup(text);