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 --- test/DumpDatabase.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/DumpDatabase.cxx') diff --git a/test/DumpDatabase.cxx b/test/DumpDatabase.cxx index c6a01fa11..e788d625a 100644 --- a/test/DumpDatabase.cxx +++ b/test/DumpDatabase.cxx @@ -36,8 +36,8 @@ using std::endl; #include 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); -- cgit v1.2.3