*: 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

@@ -19,6 +19,7 @@
#include "config.h"
#include "GlobalEvents.hxx"
#include "gcc.h"
#include <atomic>
@@ -47,7 +48,7 @@ InvokeGlobalEvent(GlobalEvents::Event event)
}
static gboolean
GlobalEventCallback(G_GNUC_UNUSED gpointer data)
GlobalEventCallback(gcc_unused gpointer data)
{
const unsigned flags = GlobalEvents::flags.exchange(0);