summaryrefslogtreecommitdiff
path: root/test/dump_text_file.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-08-04 23:48:01 +0200
committerMax Kellermann <max@duempel.org>2013-08-04 23:48:01 +0200
commit85b77b81caa40f8bcd03921380246cb5863d5d21 (patch)
treecf4bc60a6760c52bcbd642a253b45f3bc5ad8775 /test/dump_text_file.cxx
parent5bf2ec5a74bb1247a8cc84e90577eecbee116c62 (diff)
*: use gcc.h macros instead of GLib
Diffstat (limited to 'test/dump_text_file.cxx')
-rw-r--r--test/dump_text_file.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/dump_text_file.cxx b/test/dump_text_file.cxx
index 40b3a878f..8a8f9e77f 100644
--- a/test/dump_text_file.cxx
+++ b/test/dump_text_file.cxx
@@ -36,8 +36,8 @@
#include <stdlib.h>
static void
-my_log_func(const gchar *log_domain, G_GNUC_UNUSED GLogLevelFlags log_level,
- const gchar *message, G_GNUC_UNUSED gpointer user_data)
+my_log_func(const gchar *log_domain, gcc_unused GLogLevelFlags log_level,
+ const gchar *message, gcc_unused gpointer user_data)
{
if (log_domain != NULL)
g_printerr("%s: %s\n", log_domain, message);