*: use gcc.h macros instead of GLib

This commit is contained in:
Max Kellermann
2013-08-04 23:48:01 +02:00
parent 5bf2ec5a74
commit 85b77b81ca
98 changed files with 369 additions and 349 deletions

View File

@@ -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