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 --- src/Log.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Log.cxx') diff --git a/src/Log.cxx b/src/Log.cxx index 8a50e1efb..96ac106cc 100644 --- a/src/Log.cxx +++ b/src/Log.cxx @@ -91,7 +91,7 @@ chomp_length(const char *p) static void file_log_func(const gchar *log_domain, GLogLevelFlags log_level, - const gchar *message, G_GNUC_UNUSED gpointer user_data) + const gchar *message, gcc_unused gpointer user_data) { char *converted; @@ -179,7 +179,7 @@ glib_to_syslog_level(GLogLevelFlags log_level) static void syslog_log_func(const gchar *log_domain, GLogLevelFlags log_level, const gchar *message, - G_GNUC_UNUSED gpointer user_data) + gcc_unused gpointer user_data) { if (stdout_mode) { /* fall back to the file log function during -- cgit v1.2.3