aboutsummaryrefslogtreecommitdiffstats
path: root/src/Log.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 /src/Log.cxx
parent5bf2ec5a74bb1247a8cc84e90577eecbee116c62 (diff)
downloadmpd-85b77b81caa40f8bcd03921380246cb5863d5d21.tar.gz
mpd-85b77b81caa40f8bcd03921380246cb5863d5d21.tar.xz
mpd-85b77b81caa40f8bcd03921380246cb5863d5d21.zip
*: use gcc.h macros instead of GLib
Diffstat (limited to '')
-rw-r--r--src/Log.cxx4
1 files changed, 2 insertions, 2 deletions
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